scoundrel86
Programmer
I have a problem. I wrote a program using QB4.5 to take a file created by a DOS program, print it to a postscript file, and then pass it to ghostscript (v8.13 or v8.15) to convert it to a pdf, then launch the default viewer. The program works great under Win98se, but is having problems under XP. I have resolved the issues with the launch of the pdf (START command) and some issues with shelling to batch files (using cmd /c), but the problem I am having right now is when I try to run ghostscript from the batch file in a shell. I am getting a "Program too big to fit in memory" error. I have tried playing with the memory settings for the pif and have stripped the autoexec.nt and config.nt file to maximize available memory. I even put the "mem /c" command in the batch file prior to running ghostscript and verified that the available memory is about the same between Win98se and XP. I am able to shell other programs without error, but can't seem to get ghostscript to run in the shell. (Yes, I tried to run the batchfile external from my program and it ran ok.)
Any suggestions as to what I can try next?
Any suggestions as to what I can try next?