undefined reference to IID_IPicture

I was writing a small test application to display some pictures and ran into a linker error complaining about an undefined reference to IID_IPicture. In COM interfaces are identified by a globally unique identifier string. To get the linker to pick them up you need to link to uuid.lib.

Category(s): C, Cpp, Programming
Tags: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *