Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Ahhh, the frustration of bein' a programmer

Sign in to follow this  


Ya know those times when you just can't get something to work and you just don't know why? Yeah, this is one of those times.

I'm almost done with the framework for my application. Everything that happens on the kernel level is executed though "actions". What's cool is that I have a console (which has been rewritten) and anything that you enter into the console gets translated into an action by the kernel. This works but I'm trying to add all DirectX initializations as system actions. I've extended the CAction class to a CActionInitVideo class. This new class is set up with everything that it needs to initialize the video. However, I send the action request to the kernel and... poop. I'm back out to windows with an error telling me that I've failed miserably.

Now, do I NEED this feature? Of course not. I can just have the kernel initialize the video directly (and all other DirectX objects) but that's just not cool. I want all commands to the kernel to happen via the console... and directed to the action processor. Then, I want a config file (text) that contains all of my action commands to the console which the system can execute during initialization. Any parameters can then be in the config file. If I do this, I'll have the killer framework that I had envisioned.

I'm using adaptor classes to interface with all of these objects. Perhaps I screwed the couch when I was writing the adaptor class? The adaptors hold a static pointer to the object that they are interfacing so all instantiations are acting on the same object. Therefore, there shouldn't be a prob.

Anyway, it's 3:30am and I have work in the morning. I'm off to bed with my tail between my legs. =/
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!