From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: <001401beffc1$8365a400$62ed3cc7 AT dellows> <37E99779 DOT 7BF75BD9 AT interlog DOT com> Subject: Re: RSXNTDJ won't compile certain samples Lines: 89 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Thu, 23 Sep 1999 20:29:07 +1000 NNTP-Posting-Host: 139.134.160.144 X-Trace: newsfeeds.bigpond.com 938082582 139.134.160.144 (Thu, 23 Sep 1999 20:29:42 EST) NNTP-Posting-Date: Thu, 23 Sep 1999 20:29:42 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Martin Fraser wrote in message news:37E99779 DOT 7BF75BD9 AT interlog DOT com... > I followed your instructions in surf.to\rsxntdj today (thank you very much - > they were clear and very helpful) but had a few problems. Thanks for the encouraging words. > Warning: NT 4.0 cannot run the DOS executables from DJGPP inside the Batch > window > > What is the Batch window - I didn't see it in the menu list? I don't use Windows NT, so I'm not quite sure. Then again, Rainer could have just mixed up his terminology. I'm not sure. > A problem that I had was that I installed MSSDK in C:\Program Files\Platform SDK > , a pathname which is obviously not 8.3. I followed your instructions and put > %MSSDK%\INCLUDE into the path variable but when I looked at the PATH variable in > DOS, it reported %MSSDK% instead of expanding it properly (and environment > variable MSSDK was there and properly typed). I tried to MAKE one of the > samples and it complained immediately so I hard coded 'C:\Program Files\Platform > SDK\' into PATH, C_INCLUDE_PATH, and CPLUS_INCLUDE_PATH which helped a bit, but > the MSSDK directory in C_INCLUDE_PATH and CPLUS_INCLUDE_PATH seemed to be > ignored. I successfully did a MAKE on the WINEDIT sample though. I don't know whether Windows NT handles long file names in environment variables, and if it does, I don't think DJGPP will work with them (becuase Windows NT doesn't provide a DOS LFN interface like Windows 9x). > At that point I noticed though, that I had skipped the step of running DOPATCH > to patch RSXNTDJ\INCLUDE\MSSDK which is at the front of both Include paths. I > ran DOPATCH and then I couldn't recompile WINEDIT. That makes sense because your paths aren't set up properly. > files. When I ran 'dopatch.bat' on the RSXNTDJ\INCLUDE\MSSDK file the messages > were ambiguous and I wasn't sure if it had failed or succeeded (once again after > changing %MSSDK% to "C:\Program Files\Platform SDK" in the batch file). Ah!! Here is your problem! You should have downloaded the September 98 MSSDK, not the July 99 one. I haven't tested the latest one with RSXNTDJ, but from my observations (and your problems), I surmise it doesn't work very well. The September one should be available here: http://www.microsoft.com/msdownload/platformsdk/bldenv/01000.asp > Has anyone gotten RSXNTDJ to work successfully with NT (I thought with NT in the > name that it would be good, but now I'm not so sure)? Is the 8.3 limitation too > much of a problem? Note that I did skip your step 4 since I figure it doesn't > apply. I'm not quite sure whether this is true. Just check this by seeing whether you have libcomdlg32.a or libcomdl.a in your RSXNTDJ/lib directory. > Dateiooffnen is my recollection (I'm at home and this was at work today) of the > function name and I couldn't figure out the English equivalent. I guessed at > "FileOpen" but couldn't find an English function like that for VB (which I don't > know at all) in the MSDN library. Help!!! How do you make the editor work? Unfortunantly, I don't use RSXIDE, and from the times I have tried to get it to work I ran into the same problem. Sorry, I'm not quite sure how to answer that one. Cheers, -- Johan Venter ICQ 3643877 surf.to/djgppig