From: peter DOT lonsdale AT stud DOT umist DOT ac DOT uk (pete lonsdale) Newsgroups: comp.os.msdos.djgpp Subject: Carn't get RSXNTDJ to compile test.c Date: 30 Nov 1998 19:06:57 GMT Organization: UMIST Lines: 19 Message-ID: <73uqch$c0a$1@probity.mcc.ac.uk> NNTP-Posting-Host: pc38.deh.man.ac.uk Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII X-Newsreader: WinVN 0.99.7 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I've installed RSXNTDJ and I dont think I've done anything wrong, but when I try to compile the test program gcc exits with this: test.c:1: parse error before `WinMain' test.c:1: parse error before `hInstance' test.c: In function `WinMain': test.c:5: `NULL' undeclared (first use this function) test.c:5: (Each undeclared identifier is reported only once test.c:5: for each function it appears in.) test.c:5: `MB_OK' undeclared (first use this function) What am I doing wrong? The reason I'm installing RSXNTDJ is so I can install WinAllegro, so I can get my allegro program to run on WinNT. Is there a better way? Using a different OS is not an option, as I want this program to run on the university cluster computers.