Advertisement Jump to content
Sign in to follow this  

Win32 OLE: IID_IPicture undefined

This topic is 4972 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I am currently having trouble compiling my code with the function "OleLoadPicturePath" utilizing "IID_IPicture" without obtaining a linker error:[Linker error] undefined reference to `IID_IPicture' I have defined the header file "olectl.h" as well as the library file "liboleaut32.a". I am utilizing Dev-C++ as my development environment with GCC as my compiler. Is there something else I should include or define? Thank you.

Share this post

Link to post
Share on other sites
I would link to these three libs. That header should be enough.


You might just need the uuid.lib if its saying it can't find IID_IPicture and thats all its complaining about.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!