From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: <7kr7l8$7mm$1 AT news6 DOT svr DOT pol DOT co DOT uk> Subject: Re: RSXNTDJ - Nearly!, Not Quite ???? Lines: 40 X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: Date: Thu, 24 Jun 1999 13:44:43 +1000 NNTP-Posting-Host: 139.134.164.210 X-Trace: newsfeeds.bigpond.com 930216671 139.134.164.210 (Thu, 24 Jun 1999 19:31:11 EST) NNTP-Posting-Date: Thu, 24 Jun 1999 19:31:11 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 Paul J G wrote in message <7kr7l8$7mm$1 AT news6 DOT svr DOT pol DOT co DOT uk>... >Hi, I`ve finally managed to install RSX(1.5) into my djgpp directory, and >very surprizingly it nearly works. ( Well, part of it ) Im still getting >some error messages can anyone help me out. > >1. When I manage to compile and run a prog I end up with a dos box in the > background. This closes when the program shuts down ? > >2. Program called 'Test.c' in GUI/WINDOWED dir brings up the error > UNDEFINED REFERENCE TO 'WIN MAIN'. > >3 When I compile the WHELLO demo I get, > WINDOWS.H : NO SUCH FILE OR DIRECTORY. > >Can anyone please shed any light. Read these threads: 1. Request for help in telling everybody about NEW RSXNTDJ! 2.Re: Success!!! RSXNTDJ + DJGPP 2.02 (GCC 2.8.1)......finally! Add this line to the main() function of winmain.c in %RSXNTDJ%/source/emx4w32: __asm__(".stabs \"_WinMain\",5,0,0,_WinMain"); Run make in that directory. This will let you build proper GUI apps.....the RSXNTDJ author forgot it. -- Johan Venter ICQ 3643877 Visit The TPU DJGPP Interest Group: http://surf.to/djgppig