This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Building "real" Windows Aps




----- Original Message ----- 
From: <cygwin-digest-help@sources.redhat.com>
To: <cygwin@sources.redhat.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@cygwin.com>
From: "David A. Cobb" <superbiskit@home.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@newsguy.com  ==================================  Anon  ===




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]