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.

Related Posts

Leave a Reply