Building "real" Windows Aps

The Jetman
Mon Jun 25 10:22:00 GMT 2001

----- 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
:< >
"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 

    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.                                                +
===  ==================================  Anon  ===

Want to unsubscribe from this list?
Check out:

More information about the Cygwin mailing list