Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-Id: <199911152134.PAA09503@mercury.xraylith.wisc.edu>
To: "Robert Powers" <r.t.powers@worldnet.att.net>
cc: cygwin@sourceware.cygnus.com
Subject: Re: Static Lib containing WinMain Problem 
In-Reply-To: Your message of "Mon, 15 Nov 1999 16:23:23 EST."
             <000701bf2faf$c0acde00$0a01a8c0@bob1> 
Date: Mon, 15 Nov 1999 15:34:46 -0600
From: Mumit Khan <khan@thor.xraylith.wisc.edu>

"Robert Powers" <r.t.powers@worldnet.att.net> writes:
> Hi..
> Running B20.1 with 2.95.2-MingwExtra's installed using -mnocygwin...
> 
> Program is Unix Lib ported to Windows by Author....
> Code compiles/links/produces TestProg.exe & Runs on VC++6.0.....
> Gcc compiles/links/produces aTestProg.exe which does nothing..except hang..
> 
> Lib has WinMain -- TestProg has Main
> WinMain code should put up 1)Control window
>                                         2)Console for input
>                                         3)Main display window
> If I use -mwindows I get nothing.
> if I do not use -mwindows I get the Console.
> Tried debug the .exe  w/(Insight)..doesn't start at or seem to recognize the
> WinMain function.
> Chkd archives..found WinMain reference to VLIB problem.. tried the link
> fix(-Wl,-u,_WinMain@16 )...doesn't make a difference.
> 
> Sorry for length... would appreciate any advice.. thanks
> Bob Powers..

No testcase => very little chance that I or someone else can help with
this.

If you can send me the source code with instructions on how to build it,
I'll take a look.

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

