www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/23/04:07:08

Date: Thu, 23 Jul 1998 10:01:46 +0200 (MET DST)
From: Olivier Perron <perron AT art DOT alcatel DOT fr>
To: Benji <NOSPAM--bhy7702 AT grace DOT rit DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: Possible causes?
In-Reply-To: <35b6aab0.167946801@news.netaxs.com>
Message-Id: <Pine.GSO.3.96.980723095540.17198A-100000@rtbsci146s>
Mime-Version: 1.0

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 <windows.h>
> 
> 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.

- Raw text -


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