Thanks LaserLight and Ace.
I definitely see this type or resource controlling working well. I could probably implement something similar without a ton of work. The issue however is still the fact...
Type: Posts; User: JJFMJR
Thanks LaserLight and Ace.
I definitely see this type or resource controlling working well. I could probably implement something similar without a ton of work. The issue however is still the fact...
Thanks for the reply.
That's essentially what it does; my concern was any memory that needs to be free in a Resource destructor. For instance if my image has an array of pixel data. I need to...
Actually it doesn't really compare effectively to either. I'm trying to create an easy functionality for me to keep track of the resources I use in my projects.
The concept is simple: Before we...
Hey all,
I'm currently working on creating a resource management system for use in my own projects.
My original idea was to prevent loading a resource multiple times into memory. For Example:...
What? Try using English words please.
Id suggest doing some simple debugging, trace your file locations. Display your file location that your trying to load from, before loading it, then compare it to the local destination of said file....
The example you gave would be defined as containment.
class b contains an instance of class a in other words.
Nesting would be defining class a in-side of class b as the post above examples.
As was previously stated, C++ isn't where you necessarily want to begin, it's where you want to end up. You really need to have an understanding of how programming works before you learn a high-level...
Hmm, I've gone through searching for pointer errors or un-initialized variables as you all have suggested, I thought the same thing originally as well. However, I did not find anything significant...
Hey everyone, I'm working on a current game project right now. I'm receiving some weird problems/errors. Since it is a massive amount of code, I'm going to try to not post any, but if needed, just...
Wow, Jeez I'm stupid.. NEVERMIND! lol, nevermind nevermind.. I can't believe I'm so stupid. Figured out the problem. Now that I thought about it, the tex parameter is specific to the bound texture....
Compiler: Code::Blocks
[Edit]Problem Fixed: See second thread
Hey everyone, and thanks in advance for any help you can give me. I'm working on a game using OpenGL for my graphics. In rendering,...
Here you go, you can get the latest header files here:
OpenGL 3.0 Drivers
These are the latest OpenGL 3.0 API files, so you will definently be up to date (it was only released a few months ago)...
Matt, Buba you guys are awesome, blitting it to an entire other dc worked like a charm! Thanks guys.
Alright guys, thanks, I'll see how it goes :)
Thanks for your info, I'll keep it in mind, however I'd like to find a more efficient solution. This way seems to probably take up a fair amount of time, I'm not sure how slow it is, but I'm guessing...
Interestingly enough the particular applet it didn't work on does fine with PrintScrn, however when I use the getPixel command on the actual applet, it always returns 255 255 255 :/.
Hey all, I'm trying to create a program that can read pixel color data from anywhere on the screen. I have found a way to successfully do it using the getPixel command and findWindow() functions,...
Hey thanks for everyone's help! I solved the problem by adding some accessor functions in the DLL. Looks a bit complicated but I use some function pointers to make it look nicer in the main file....
Alright, I'll try to mess around with it, thanks for all your help. What your saying makes sense though, once again thanks for the help I should be able to get it working :).
Sorry about the irrelevancy, I like to include everything that might have something to do with it so I don't miss putting something in and you all can see exactly what I'm doing. The mouse hook is...
Hey everyone, I'm making a program that will be able to watch and record some mouse pixel coordinates when I click the left mouse button anywhere on the screen. However I haven't been able to...
Ok, so use GetProcAddress, to achieve it, thanks I'll try it, sounds very likely to work. Thanks again!
Hey all, I'm got some decently complex code here, using a dll to set up a global mouse hook(windows stuff). Anyway, I am getting this error:
C:/Users/JohnJr/Desktop/My...
Lol, keep reading, that was resolved much earlier, but the problem I have is the post above yours :). I just thought since it was on the same topic, it should be put in this thread instead of a new...