I'm attempting to set a JPG desktop wallpaper via the IActiveDesktop interface but every time I include shlobj.h I get a bunch of "Multiple declaration" errors and the interface is not available without it.
Anyone have suggestions on another way to do this?
I know you can set bmp images via the registry but I'm trying to use a jpg image via active desktop.
I know the active desktop information is kept in the desktop.htt file which is recreated by windows when the active desktop information is changed. I don't want to just scan and edit the file manually becuase the results don't show up right away on the desktop and when I was playing with it sometimes windows would rewrite the file and undo what I did.
-Ruggie
Anyone have suggestions on another way to do this?
I know you can set bmp images via the registry but I'm trying to use a jpg image via active desktop.
I know the active desktop information is kept in the desktop.htt file which is recreated by windows when the active desktop information is changed. I don't want to just scan and edit the file manually becuase the results don't show up right away on the desktop and when I was playing with it sometimes windows would rewrite the file and undo what I did.
-Ruggie