Date: Thu, 23 Jul 1998 10:01:46 +0200 (MET DST) From: Olivier Perron To: Benji Cc: djgpp AT delorie DOT com Subject: Re: Possible causes? In-Reply-To: <35b6aab0.167946801@news.netaxs.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 23 Jul 1998, Benji wrote: > What are the possible causes of this code to do a GPF and not > run at all in win95? > > > #include > > int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,LPSTR > lpCmdLine, int nCmdShow) > > { > MessageBox (NULL, "Hello Win32", "First App", MB_OK); > > return 0; > > } > > Well, this code should work. Just get a real Win32 compiler. From my experience, rsxntdj is NOT a good win32 compiler. From my point of view, it is still in beta stage and the author is no long maintaining it. Forget about it. One good free win32 compiler is lcc-win32 which you can get at: http://www.cs.virginia.edu/~lcc-win32/ It's light and powerfull and the author actively maintains it. Hope this helps, Olivier.