X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Maurizio" Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem with RSXNTDJ Date: Wed, 30 Jan 2002 12:15:55 +0100 Organization: Tiscali Spa Lines: 43 Message-ID: References: NNTP-Posting-Host: 217.133.240.116 X-Trace: pegasus.tiscalinet.it 1012389296 2270 217.133.240.116 (30 Jan 2002 11:14:56 GMT) X-Complaints-To: newsadmin AT it DOT tiscali DOT com NNTP-Posting-Date: 30 Jan 2002 11:14:56 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I had soooo many troubles using rsxntdj... so I had to change compiler.... www.mingw.org Maurizio "D Knibbe" ha scritto nel messaggio news:a3770r$a0v$1 AT info DOT science DOT uva DOT nl... > 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 > > 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.