delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/25/13:29:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <jetman AT newsguy DOT com>
To: <cygwin AT sources DOT redhat DOT com>
Subject: Re: Building "real" Windows Aps
Date: Mon, 25 Jun 2001 13:12:59 -0400
MIME-Version: 1.0
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: <cygwin-digest-help AT sources DOT redhat DOT com>
To: <cygwin AT sources DOT redhat DOT com>
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 <cygwin AT cygwin DOT com>
From: "David A. Cobb" <superbiskit AT home DOT com>
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
:<http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=superbiskit>
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

- Raw text -


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