+++++++++++++++ J D X G E N 9 5 +++++++++++++++ Well, a few people in 1996 emailed me saying that jdxgen.exe failed when running in a DOS window from Windows 95. I went home & tried it on the Win95 notebook belonging to my son. Sure enough, it crashed. The crash occurs because the Windows 95 "DOS Window" is not a "real" DOS - it is a shell emulating DOS, but still under the firm grip of the the Win95 OS (and yah boo sucks to the Microsoft acolytes who flamed me by news and mail for saying this.) One of the things JDXGEN does is to adjust both the maximum file handles in the Borland C library, and also within DOS. With the Windows 95 DOS emulation, this fails to work. Thus JDXGEN goes belly-up when it runs out of file handles, which is at about work-file 13 (20 - stdout, stdin, stderr, etc.) Anyway, I posted a plea for help, and got the following: > > I am posting this is an attempt to find out more about a problem that is > affecting users of my JDXGEN.EXE utility when they attempt to run it from > a DOS window in Windows 95. > * From: Bryan McNett * To: "'jwb@dgs.monash.edu.au'" * Subject: Re: JDXGEN and Windows95 * Date: Wed, 21 Aug 1996 01:53:34 -0400 [snip] * I saw your message in sci.lang.japan, so I've taken the liberty of * porting xjdxgen.c to Windows 95. The output seems to work fine in JWP, but * it's a little bigger than the jdx file that comes with JWP 1.3. * * I'm attaching the source and executable to this mail message. * * note: this is only a five minute patch job. jdxgen95 still behaves very * much like a UNIX program - in ways that would be confusing to the casual * win95 user. So there it is. JDXGEN95.EXE seems to work OK in Win95 land. Just run it from the command-line in a "DOS" window. Win95 detects that it is a native Win95 executable, and gives it the full treatment - big address space, paged memory, etc. etc. As Bryan says, it is really the UNIX utility. NB: running "jdxgen95 foobar" creates an index file "foobar.xjdx" (after all it is a port of the Unix utility.) If you want to use the index file with JWP, etc., you'll need to rename it "foobar.jdx". Enjoy Jim Breen