tags:

views:

39

answers:

1

I am using IActiveDesktop interface to change wallpaper . I have included files "shlobj.h" , "shlguid.h" for that in my MFC project.

But still i am getting error : "undeclared identifier IActiveDesktop" . Can anybody tell me how to resolve it ?

+1  A: 

There are a few more includes you'll have to add manually. See ActiveDesktop Compilation Errors Under Visual C++ 6.0 MFC KB article.

eran
thanks eran it worked nice.
Ashish