delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/15/16:29:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <000701bf2faf$c0acde00$0a01a8c0@bob1>
From: "Robert Powers" <r DOT t DOT powers AT worldnet DOT att DOT net>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: Static Lib containing WinMain Problem
Date: Mon, 15 Nov 1999 16:23:23 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

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 AT 16 )...doesn't make a difference.

Sorry for length... would appreciate any advice.. thanks
Bob Powers..





--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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