Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <000001c0fd9b$b8f695a0$3201a8c0@eagle> From: "The Jetman" To: Subject: Re: Building "real" Windows Aps Date: Mon, 25 Jun 2001 13:12:59 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 ----- Original Message ----- From: To: Sent: Sunday, June 24, 2001 21:19 PM Subject: cygwin Digest 25 Jun 2001 01:19:03 -0000 Issue 1275 Date: Sun, 24 Jun 2001 17:19:01 -0400 To: Cygwin General MailList From: "David A. Cobb" Subject: Building "real" Windows Aps Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Just off the top of my head, and way outside my own capacity to implement; but, would it be feasible to create some sort of "wrapper" program that would provide the WinMain and like entry points to a cygwin ap such as RXVT? Maybe it would need to be a spec to GCC, but I would think just a generic WinMain object that would call __main (or whatever the external name of the ap's entry) and be linked into the executable to make it a Windows ap. David A. Cobb, Software Engineer, Public Access Advocate, All around nice guy. Get my PGP key at : Fingerprint=0x{6E3E_DB8C_2E8C_4248_62B2_FE29_08EE_CF0A_3629_E954} "By God's Grace I am a Christian man, by my actions a great sinner." --The Way of a Pilgrim, R. M. French [tr.] <---.----!----.----!----.----!----.----!----.----!----.----!----.----> --- new message --- You're actually talking about a major re-write. WinMain itself doesn't do anything that main() does in a cmd-line pgm. It's the internal message-processing event loops that translate text to GUI APIs. A non-trivial undertaking. Actually, what's needed is work on the existing console I/O code. Terminal emulators can be a bitch to debug, esp when only *certain* apps don't work w/ it under *certain* conditions. I encountered a minor one w/ fresh BASH windows, that I've learned to work-around til I (or anyone) can take a look at the code....Jet =============== From the desk of Jethro Wright, III ================ + It may be that your sole purpose in life is simply to serve as a + + warning to others. + === jetman AT newsguy DOT com ================================== Anon === -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple