How do I use/implement the interfaces in in win32’s shobjidl_core.h?

  abstract-class, c++, winapi

I am trying to instantiate IDesktopWallpapaper to access some of its functions, but they are all pure virtual voids. Because of this the compiler throws an error when I try to do this. The specific methods I’m trying to use are GetMonitorDevicePathAt and GetWallpaper.

Are there other headers I have to include, or libraries that I should link? Or are there other methods that achieve the same?

Source: Windows Questions C++

LEAVE A COMMENT