|
From: <gen...@ya...> - 2004-05-28 07:51:25
|
the kernel32 and user32 libraries aren't for GDI. they're for basic Windows services. kernel32 handles OS interfacing, and user32 handles the UI. there are some function calls that one might think belong to the GDI set, but actually are UI functions. example is DrawText(), which iirc uses a device context, which is GDI-related. for Win32 programs generally, just link with all 3, that is libkernel32.a, libuser32.a, and libgdi32.a, so you don't miss anything. ____________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |