delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/13/10:51:42

From: "Johan Venter" <jventer AT writeme DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <000901becb65$41b88620$a074e994 AT sarizmen>
Subject: Re: RSXNTDJ 1.5 and GUI apps (Patch)
Lines: 33
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <wOyi3.6390$yD2.15035@newsfeeds.bigpond.com>
Date: Mon, 12 Jul 1999 16:00:02 +1000
NNTP-Posting-Host: 203.40.82.241
X-Trace: newsfeeds.bigpond.com 931838236 203.40.82.241 (Tue, 13 Jul 1999 13:57:16 EST)
NNTP-Posting-Date: Tue, 13 Jul 1999 13:57:16 EST
Organization: Telstra BigPond Internet Services (http://www.bigpond.com)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>This is what you should do to fix RSX's bug that makes all apps "Console" type and not
"GUI".
>Add the following line to /rsxntdj/source/emx4w32/winmain.c just after the #includes :
>__asm__(".stabs \"_WinMain\",5,0,0,_WinMain");

Just to add, I've answered this question about a thousand times, and you can add that line
almost anywhere in that file. I add it right before the return in main().

>then compile a new libmain.a this way :
>>gccw32 -c -O2 -Zwin32 winmain.c
>>ar r libmain.a winmain.o
>>ar s libmain.a

>Then copy the new libmain.a to /rsxntdj/lib
>and it's done! :) Now RSX knows if your app is Console or GUI :)

>If this helped you, please send me a mail (sarizmen AT df1 DOT telmex DOT net DOT mx), 'cause i'm almost
a newbie (i fought for hours until i made this patch work), and i want to know >if anybody
else had this problem :)

Everyone who has downloaded RSXNTDJ 1.5 has had this problem. I don't want to insult him
too much, but if Rainer (the RSXNTDJ author) had bothered testing the new version before
releasing he would have saved everybody days of trouble trying to make it work. BTW,
Rainer, if you're reading, a long file name enabled zipper would've helped as well.

--
Johan Venter
ICQ 3643877
Visit The TPU DJGPP Interest Group:
http://surf.to/djgppig



- Raw text -


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