What do these errors mean?

I am still pretty much a beginner but have managed to get some programs, albeit small stuff, working OK using C++ and Code::Blocks.

I am now starting to look at the Forgers Win API Programming tutorial for windows and whilst the first few codes worked I am now getting errors from the compiler such as :
GetObjectA@12
CreateBitmap@20
CreateCompatibleDC@4

Can anyone tell me what I am doing wrong to get these errors please?

I do appreciate these are compiler errors but they must be from some code I am not getting right.

Thanks.
You need to link with the GDI library, it's gdi32.lib on 32 bit Winidows.
Thanks kbw, you provided the correct clue, I was loading the files to Code::Blocks by just clicking on them and thus got the errors.

When I changed to starting Code::Blocks first and selecting a WIN32 app then pasted the code into that they worked fine.

Now just need to find out how to set Code::Blocks to default to a WIN32 app!!!!

Thanks again, I would never have sussed it without your tip.
Topic archived. No new replies allowed.