Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: IntControl(51,2048,0,0,0)
Look in the WIL help file for IntControl(51,2048,0,0,0). and put that in your script before your Run command.
In NT4.0, you could also create a shortcut PIF file, that has those options selected in the properties, and then distribute that PIF file with the compiled Winbatch EXE.
What I've got is a VB application that is probably looking for a different version of a VBX than that loaded by another application that must be running (for other reasons). If the memory space flag is not set, I see some memory corruption in some of the controls on the screen (background colors, etc.) Setting the flag causes the corruption to disappear, but calling IntControl does not. Any other ideas?
Here, a path is associated with an executable program, and I have used this technique successfully for the odd legacy app as an alternative to modifying the environment. It really depends on whether your 16 bit app runs as a single EXE or calls lots of other EXE's, but test and see if in doubt..
Article ID: W13436
Filename: Run in Separate Memory Space under NT.txt
File Created: 1999:04:15:16:54:00
Last Updated: 1999:04:15:16:54:00