Screensaver software development
-
Hi, I am at the final stage of developing an application which allow user to create a screensaver from images(gif,bmp or jpg). The images are loaded at run-time. Now how can I integrate these as embedd in the new exe ? Is there a way I can do it ? Currently, I am loading the images from the path. The screensaver(scr) is developed by renaming the exe file to scr and moved to windows/system32 folder. This works very fine under windows vista. However, windows xp does not display any image with this implementation. Any help here ? Thanks.
"C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
-
Hi, I am at the final stage of developing an application which allow user to create a screensaver from images(gif,bmp or jpg). The images are loaded at run-time. Now how can I integrate these as embedd in the new exe ? Is there a way I can do it ? Currently, I am loading the images from the path. The screensaver(scr) is developed by renaming the exe file to scr and moved to windows/system32 folder. This works very fine under windows vista. However, windows xp does not display any image with this implementation. Any help here ? Thanks.
"C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
Can you not just add the picture files in the resource manager (double click the Resources.resx file) and mark them as "Embedded at runtime" (Under the "Persistance" property)? The picture files are integrated into the .exe this way and you can call the files in your code using Properties.Resources.FileName; Mark.
-
Can you not just add the picture files in the resource manager (double click the Resources.resx file) and mark them as "Embedded at runtime" (Under the "Persistance" property)? The picture files are integrated into the .exe this way and you can call the files in your code using Properties.Resources.FileName; Mark.
I am adding images at run-time. So I cannot do this since it is done at compile time.
"C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup