c++ - win32 .lib problem

• core99 (6/6) Oct 02 2003 Hello
• Walter (4/10) Oct 02 2003 GetStockOBject is defined in \dm\lib\gdi32.lib. So I'd check if that fil...
"core99" <core99 delite.dk> writes:
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
"Walter" <walter digitalmars.com> writes:
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