User forums > Using Code::Blocks

how to visual c++ 2005 compiler

<< < (2/2)

lubos:
cant compile another app :(

-------------- Build: Debug|Win32 in 3DPongClone ---------------
Linking executable: Debug\3DPongClone.exe
winmain.obj : error LNK2019: unresolved external symbol __imp__GetStockObject@4 referenced in function _WinMain@16
Debug\3DPongClone.exe : fatal error LNK1120: 1 unresolved externals
Process terminated with status 1120 (0 minutes, 0 seconds)
2 errors, 0 warnings
 
what it still want from me??

mandrav:
This will get you nowhere, asking each time you get an unresolved symbol.
Please, learn how to search the documentation of the APIs you 're using...

Anyway, add gdi32 in libs.

lubos:
ok i fixed it with gdi32.lib   :D
edit: ok you will not believe me, but i fixed it yourself with google and was writing this repply. anyway thank you!(even if you not believe me :lol:)
ehm http://www.codecomments.com/archive371-2005-4-463706.html

Navigation

[0] Message Index

[*] Previous page

Go to full version