CreateCompatibleDC
I'm trying to compile a source code to use mappy in my project, but it keeps saying there's an undefined reference to CreateCompatibleDC and CreateDIBitmap
Is there some libary or header that I'm forgetting to compile?
I think these are in gdi32.lib. You need to make sure gdi32.lib is being linked to your project (not all Win compilers do this by default).
Yeah, neither does Digital Mars. Drove me mad for a few hours a couple of months ago [smile].
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement