From: "Deathifier" Newsgroups: comp.os.msdos.djgpp Subject: Here is how to install RSXNTDJ and make it work.....for PC's Date: Tue, 6 Oct 1998 21:35:09 +1000 Organization: The Internet Group Ltd Lines: 72 Message-ID: <6vcvee$n0f$1@toto.tig.com.au> NNTP-Posting-Host: p21-max32.syd.ihug.com.au X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, You might have noticed that a few days ago I wrote a message asking about the MSSDK files, asking what I needed to get RSXNTDJ to work. Well I've played around a bit, got the build environment off microsoft, went to patch the files, and the program that is supplied with RSXNTDJ doesn't work, keeps saying "file not found". Now I have to working, in RHIDE, without the MSSDK headers and crap, and I got it to compile the win32 hello program. I have had a browse through the archives and found many messages on "How do I install RSXNTDJ?" so I thought I might as well post this to try and help any future people wanting to use it. First, you get the file rsxntdj131.zip from the /v2k directory of whereever you found DJGPP, I grabbed it off a simtel mirror. Just for safety copy all your DJGPP stuff to a separate drive if possible (I didn't do it, but it will save lots of hassles if this goes wrong). If you use Win95, get the program Winzip, or use something else that can handle long filenames, and give it the unzip to directory of On Top Of your DJGPP installation, ie - put in :\djgpp\ The files should install to :\djgpp\rsxntdj, if they don't then restore your backup, and try again, until it works. You can always install to an alternative directory if you wish. Once that is done load up the rsxntdj.hlp file in the /doc directory, follow it's link to "Installing RSXNTDJ", and follow the instructions, replace the linker (Backing up your old one), modify your path environment but put the RSXNTDJ section *BEFORE* the DJGPP section, this seemed to work, where the other way didn't, thanks to whoever wrote it in a previous message in the archives for this. Change your specs file to point to wherever you installed it, you probably only have to change the drive letter, and put /djgpp after the drive letter. Now I used to environment file they supplied, and set the rsx environment in my autoexec.bat, but first backup your old environment file. Check it's all ok by running gcc -v, you may have to reboot to get it to work properly, it should report what you see in the help file. Right, now if you did all that properly, and you are on to the Win32 Test program, put this above the code: #include It will link in all sorts of header files you need for any Win32 program to run, why they left it out in the help file is beyond me. Now it *should* compile and link with the -Zwin32 compiler switch in RHIDE (Under options menu - compiler options), then you can run it and it will pop up on your screen. A Note about the MSSDK headers, I find that when I copied all of them into, and over, the ones already installed by RSXNTDJ, not only did the patch program fail, but if you #include that windows.h file, it throws up a pile of errors about it, so at the moment, my suggestion is *Don't* use the MSSDK files, if you want to look at them, you can get the 6MB ibuildenv.exe from Microsoft's site, it's hard to find but it is there. So that should solve most of the problems with installing RSXNTDJ, just for information I'm running gcc version 2.8.1, RHIDE, DJGPP 2.01, RSXNTDJ V1.3.1 on a 486 under a DOS box in Windows 95. Now I would like some help, I have worked out how to use RSX so that I can add TCP support to my game, and write Win32 programs in general, now what I'd like to know is if the normal allegro is fine (The one I use for compiling DOS based stuff) or do I need one of the windows ports? And if I need a windows port which one is the best? Thanks for your time, and I hope all this helps, Deathifier E-Mail: storey AT tig DOT com DOT au Homepage: http://homepages.tig.com.au/~storey