Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trouble including shlobj.h

Status
Not open for further replies.

Ruggie

Programmer
Aug 2, 2003
46
US
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 not sure where the information for ActiveDesktop is kept.
When I search the registry I found
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\General
with a key Wallpaper that had the location of the last picture I set but when I update it manually it doesn't show up on the desktop.

Any Ideas?

-Ruggie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top