- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

Parameter value not in allowed range

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.




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile