Sign in to follow this  

Win32 OLE: IID_IPicture undefined

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this