delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/20/05:26:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <001e01c2482b$e6a45c40$ce113e9b@LSIL.COM>
From: "Phil Dempster" <p_dempster AT yahoo DOT co DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: w32api: Typo in commctl.h
Date: Tue, 20 Aug 2002 10:27:19 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019