From: "Stephen C. Ferguson" Newsgroups: comp.os.msdos.djgpp Subject: Re: MSSDK question about RSXNTDJ Date: 3 Dec 1997 14:56:38 GMT Organization: home1.gte.net/itriazon/ Lines: 74 Message-ID: <663rv6$kma$1@gte2.gte.net> References: <662pcs$u7$1 AT gte2 DOT gte DOT net> <3485200E DOT 4863 AT art DOT alcatel DOT fr> Reply-To: itriazon AT gte DOT net NNTP-Posting-Host: 1cust37.max13.atlanta.ga.ms.uu.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, Thanks for the quick response to my question. Since I don't need the additional files, then there is something else wrong with my setup. I am trying to compile the following program, which came from the RSXNTDJ READ.EXE file: int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,LPSTR lpCmdLine, int nCmdShow) { MessageBox (NULL, "Hello Win32", "First App", MB_OK); return 0; } I'm trying to compile this with the following command line: gcc -Zwin32 test.c -o test.exe But I get the following compile errors: test.c:1 parse error before 'WinMain' test.c:1 parse error before 'hInstance'' test.c: In Function 'WinMain': test.c: 'NULL' undeclared (first use this function) test.c:3 (Each undeclared identifier is reported only once test.c:3 for each function it appears in.) test.c:3 'MB_OK' undeclared (first use this function) The following is how I have my autoexec.bat file set up: SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;H:\DJGPP\BIN;H:\RHIDE\BIN;H:\RSXNTDJ\BIN;%PATH%; SET RSXNTDJ=H:\RSXNTDJ SET INCLUDE=H:\RSXNTDJ\INCLUDE\MSSDK; H:\RSXNTDJ\INCLUDE\WIN32 SET LIBRARY_PATH=H:\RSXNTDJ\LIB;H:\DJGPP\LIB SET DJGPP=H:\DJGPP\DJGPP.ENV Any ideas on what could be wrong would be greatly appreciated, Thanks......... Olivier PERRON wrote: > Stephen C. Ferguson wrote: > > > > Hi, > > > > I just downloaded the RSXNTDJ and am trying to install it on my system > > with the DJGPP compiler. The installation instructions say that I need > > to download the Microsoft Platform SDK files and patch them in. The > > No, AFAIK it only say that the SDK stuff is optional and that if you > want it you have to download it. > But RSXNTDJ works without SDK files. > > > download site is suppose to be > > ftp://ftp.microsoftcom/pub/msdownload/platformsdk, but I can't find them > > anywhere near there. Does anyone know where I can get these files or > > know where I can get better installation instructions for the RSXNTDJ . > > Olivier. -- Stephen C. Ferguson Iterations et Flarium24 http://home1.gte.net/itriazon/