Node:Windows 98,
Previous:Stack size,
Up:Memory
Q: Whenever I run a batch file that launches a DJGPP program,
Windows 98 pops up a message saying that "This program has accessed
memory in use" and threatens me with all kinds of trouble unless I
terminate the program. What's wrong with DJGPP programs??
A: Nothing's wrong with DJGPP programs, it's some weird Windows
bug, and it is not limited to DJGPP programs, either. I'm told that to
get rid of these messages, you need to change the settings in the DOS
box Properties, under Memory
. Specifically:
Auto
, type in a fixed number.
The maximum possible amount depends on your system configuration; run
mem /c
to see how much conventional memory is free, and use that
amount to set the Conventional Memory property. Do not type
640K, since that causes Windows to reset the setting back to
Auto
.
Protected
option: uncheck it.
After doing this, click OK
, close the DOS box and reopen it
again. The problem should now go away.
Btw, the message popped up by Windows is a mere nuisance, since if you
answer YES
to Windows' question whether you want to continue,
everything works just fine, and the message is never popped up again
until you reboot the machine. Seems like just one more of those Windows
teasers....