Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - win32 .lib problem
Hello I'm trying to compile a basic Win32 GUI problem with a little GDI line drawing. Problem is, when I type dmc winmain.cpp GDI32.lib I get a lot of undefined references to things like GetStockObject and so on. Could anybody show me the right syntax? Oct 02 2003
GetStockOBject is defined in \dm\lib\gdi32.lib. So I'd check if that file is there, and that the LIB environment variable points to it. "core99" <core99 delite.dk> wrote in message news:blha2h$272p$1 digitaldaemon.com...Hello I'm trying to compile a basic Win32 GUI problem with a little GDI line drawing. Problem is, when I type dmc winmain.cpp GDI32.lib I get a lot of undefined references to things like GetStockObject and so on. Could anybody show me the right syntax? Oct 02 2003
|