C++ Using OpenGL to load images to Windows screen saver
Finally I have been able to create a screen saver in Windows. But there is
only ONE obstacle. The screen saver application crashes only when loading
an image.
When I run the application as an .exe it loads the image correctly. But
when I change it to .scr it crashes. I am able to run it a .scr properly
as long as I don't load any image files. And I did create the screen saver
using libscrnsave.lib using ScreenSaverProc().
In order for the screen saver (.scr) application to load images do I have
to include such information in a resource file(.rc)? If so, then how in
Code::Blocks?
No comments:
Post a Comment