I've been trying to do this program for like 2 hours already, googling and stuff, however I can't finish it because Im having troubles with saving file from resource, basically this program is supposed to:
1.find current wallpaper (working)
2.save it on the desktop as wallpaper.jpg (working)
3.load new wallpaper from resource (working)
4.save loaded wallpaper on the desktop (kinda working)
5.set new wallpaper using function SetNewWallpaper(char path[MAX_PATH]) (doesn't work because of #4)
so, when I try to load my bmp image from resource it will load it fine (i guess) but I can't load it after saving, also after I open it with notepad++ (the image) it has slightly different "source code" than the original, well, actually I've noticed that only first line is different, I dont know why, but could someone help me? I actually never used resources for this purpose
where's the problem?
also am I using function to set wallpaper correctly?