delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/29/17:46:25

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: D Knibbe <dknibbe AT science DOT uva DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Problem with RSXNTDJ
Date: Tue, 29 Jan 2002 22:16:59 +0000 (UTC)
Organization: Faculty of Science, University of Amsterdam
Lines: 30
Sender: D Knibbe <dknibbe AT gene DOT wins DOT uva DOT nl>
Distribution: world
Message-ID: <a3770r$a0v$1@info.science.uva.nl>
NNTP-Posting-Host: gene.wins.uva.nl
X-Trace: info.science.uva.nl 1012342619 10271 146.50.7.20 (1 Jan 1970 00:00:00 GMT)
X-Complaints-To: usenet AT science DOT uva DOT nl
NNTP-Posting-Date: Tue, 29 Jan 2002 22:16:59 +0000 (UTC)
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.8 (sun4u))
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hallo,


I recently installed RSXNTDJ v1.5.1, but when I try to run the compiled
example programme (compiled using gcc v3.0.3), i.e.:

	#include <windows.h>

	int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
					LPSTR lpCmdLine, int nCmdShow)
	{
	    MessageBox (NULL, "Hello Win32", "First App", MB_OK);
	    return 0;
	}

Windows '95 (r2) gives me the following error message (or something similar;
I translated it back from Dutch):

	This programme executed an invalid operation and will be closed.

Trying the ``findf'' sample programme (a.o.) (compiled using ``make'') gives
the same result and when I call it as ``rsx findf'' the relevant output
becomes:

	Error findf.exe: Not a valid a.out format

What is, or might be, wrong?


David Knibbe.

- Raw text -


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