Menu

LInker Error: CreateCompatibleDC

2002-09-29
2012-09-26
  • Nobody/Anonymous

    HI all.  I'm new to Bloodshed so I thought I'd start by trying to compile the samples that come the compiler.

    The "WinAnim" sample has several reverences to the  GDI API that the linker cannot resolve, including:

    CreateCompatibleDC
    SelectObject
    BitBlt
    GetObject
    DeleteObject

    I think at least two of these functions are from the old WinG GDI, but I'm not sure.  Anyway, what libraries do I need to link against to get this to compile?  Should they be on my system by default (Win 2k here) or do I need an SDK from Microsoft?

    Thanks for any help you can provide!

     
    • Nobody/Anonymous

      Never mind!

      Like dunce I just clicked on the main.cpp file, I didn't actually open and load the project.  I works much better if you do the latter. ^_^

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.