delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/13/23:06:36

From: JSONCRAIG AT aol DOT com
Subject: Rebar troubles...
13 Dec 1998 23:06:36 -0800 :
Message-ID: <8a73e6b2.36746210.cygnus.gnu-win32@aol.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

I'm using gcc version egcs-2.91.57 19980901 (egcs-1.1 release).
The full release fo B20.1.

When I try to compile :) my program that uses a rebar control (or coolbar,
that control at the top of Internet Explorer 3.x and above) I get the
following messages:

demo.cpp: In function `int WinMain(void *, void *, char *, int)':
demo.cpp:80: `REBARBANDINFO' undeclared (first use this function)
demo.cpp:80: (Each undeclared identifier is reported only once
demo.cpp:80: for each function it appears in.)
demo.cpp:80: parse error before `;'
demo.cpp:81: `INITCOMMONCONTROLSEX' undeclared (first use this function)
demo.cpp:82: `icc' undeclared (first use this function)
demo.cpp:82: `INITCOMMONCONRTOLSEX' undeclared (first use this function)
demo.cpp:83: confused by earlier errors, bailing out

Here are lines 80-83 of my code:

REBARBANDINFO rbBand;
INITCOMMONCONTROLSEX icc;
icc.dwSize  = sizeof(INITCOMMONCONRTOLSEX);
icc.dwICC   = ICC_COOL_CLASSES;

both REBARBANDINFO and INITCOMMONCONTROLSEX are sturcts, but it seems it isn't
able to find them.  Is there an out of date header, missing header or
something else or does this compiler not support Rebar?

Thanks,
Jason Craig
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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