Главная страница | назад





Article #15765: Parameter value not in allowed range

 Question and Answer Database

FAQ765D.txt   Parameter value not in allowed range
Category   :Miscellaneous
Platform    :All
Product    :All 32 bit  

Question:
When I run my console application or execute a DOS box, I 
sometimes get an undocumented message "Parameter value not 
in allowed range" that displays in the window. The message 
seems to be posted before the first line of code is run 
since it is there even when I use "trace into" to start 
the program. How can I get around this?

Answer:
On some Win95 OSR2 systems, there is an invalid value 
contained in the "Initial Environment" setting in the 
_DEFAULT.PIF, and CONAGENT.PIF file that Windows uses for 
dos box defaults. Opening the properties dialog for these 
files, and making a change to the "Initial Environment" 
setting (located on the Memory tab) seems to correct the 
problem.


7/16/98 4:31:28 PM
 

Last Modified: 01-SEP-99