This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
w32api: Typo in commctl.h
- From: "Phil Dempster" <p_dempster at yahoo dot co dot uk>
- To: <cygwin at cygwin dot com>
- Date: Tue, 20 Aug 2002 10:27:19 +0100
- Subject: w32api: Typo in commctl.h
struct tagNMCUSTOMDRAWINFO has a member lItemParam -- only, according to
MSDN, it should be lItemlParam.
Reference:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
tform/commctls/custdraw/structures/nmcustomdraw.asp
By the way, what's the rationale behind not defining _WIN32_IE? I would have
thought defining it to 0x0400 would be a safe bet now.
Finally, a quick[ly sneaked-in] linker question:
I've encountered various 'undefined reference' errors, for example
InitCommonControls. I'm passing -lcomctl32 (since nm -A /usr/lib/w32api/*.a
| grep InitComm indicates that is where it resides), but I think the issue
is to do with the @...
main.o(.text+0x2c3):main.cpp: undefined reference to `InitCommonControls@0'
I have similar issues with GetOpenFileName (libcomdlg32.a) and others.
Regards,
Phil
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/