From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp Subject: Re: DXEs and other OSes Date: Sat, 29 Jul 2000 12: 3:23 Organization: Aspen Technology, Inc. Lines: 12 Message-ID: <3982c80b.sandmann@clio.rice.edu> References: <0mm4osko3p4ficerd57mbp5quif11turkv AT 4ax DOT com> NNTP-Posting-Host: dcloan.hou.aspentech.com X-Trace: selma.aspentech.com 964890382 21870 10.32.115.107 (29 Jul 2000 17:06:22 GMT) X-Complaints-To: postmaster AT aspentech DOT com NNTP-Posting-Date: 29 Jul 2000 17:06:22 GMT X-NewsEditor: ED-1.5.8 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > >All Win32 programs have a DOS stub which normally just prints an error > >about Windows being required - but you can put anything there. > > Could you help me with this? I have MinGW and want the Windows > program to simply run the DJGPP program. (Why have a Windows program > in the first place? I want an icon.) Since you can't merely tack the COFF image after the EXE code like we do in DJGPP (there is Win32 stuff there) you have some modifications to do. I am not current on any of this - the last time I worked on it was in 1995. You might be able to use the stub with the exe link functionality (which points you to another DJGPP image).