* CreateWindow Errors and undefined reference to InitCommonControls
@ 2002-04-19 6:03 Siever Bryan-BSIEVER1
0 siblings, 0 replies; 2+ messages in thread
From: Siever Bryan-BSIEVER1 @ 2002-04-19 6:03 UTC (permalink / raw)
To: 'cygwin@cygwin.com'
Greetings,
I have two problems that I am hoping some of you could shed some
light on.
I am getting a NULL from calls to subsequent calls to CreateWindow after the
first one to create the parent window. This happens for any call to it, I am
using the instance value passed to WinMain and am using the handle of the
parent window. Here is the kicker: This happens on Win98 but I also run the
code on my WinNT machine and have absolutely no problems with it. I do
remeber there being an issue in how hInst is handled between winNT and
win98. Anyone else run into this problem? Any suggestions/insight would be
greatly appreciated.
My second problem is that during linking, I get an undefined reference to
InitCommonControls function, I am linking against gdi32 and user32, is there
some other library I should be linking with as well?
Thanks in advace for all suggestions/hints/comments, they are much
appreciated!
-Bryan
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CreateWindow Errors and undefined reference to InitCommonControls
[not found] <35DBB8B7AC89D4118E98009027B1009B07199107@IL27EXM10.cig.mot .com>
@ 2002-04-19 7:58 ` Larry Hall (RFK Partners, Inc)
0 siblings, 0 replies; 2+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-04-19 7:58 UTC (permalink / raw)
To: Siever Bryan-BSIEVER1, 'cygwin@cygwin.com'
At 08:51 AM 4/19/2002, Siever Bryan-BSIEVER1 wrote:
>Greetings,
> I have two problems that I am hoping some of you could shed some
>light on.
>I am getting a NULL from calls to subsequent calls to CreateWindow after the
>first one to create the parent window. This happens for any call to it, I am
>using the instance value passed to WinMain and am using the handle of the
>parent window. Here is the kicker: This happens on Win98 but I also run the
>code on my WinNT machine and have absolutely no problems with it. I do
>remeber there being an issue in how hInst is handled between winNT and
>win98. Anyone else run into this problem? Any suggestions/insight would be
>greatly appreciated.
This list deals with Cygwin specific issues. As such this issue is off-topic.
You may want to consult a Win32 specific list or reference book.
>My second problem is that during linking, I get an undefined reference to
>InitCommonControls function, I am linking against gdi32 and user32, is there
>some other library I should be linking with as well?
>Thanks in advace for all suggestions/hints/comments, they are much
>appreciated!
nm -A /lib/*.a | grep InitComm
also not really Cygwin specific but...
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-19 14:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-19 6:03 CreateWindow Errors and undefined reference to InitCommonControls Siever Bryan-BSIEVER1
[not found] <35DBB8B7AC89D4118E98009027B1009B07199107@IL27EXM10.cig.mot .com>
2002-04-19 7:58 ` Larry Hall (RFK Partners, Inc)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).