change opsys in dos

jke

New Member
Hello,

in windows you can change opsys by creating a .ini file with the following lines:

[startup]
Opsys=UNIX

and start prowin32 with -ininame Pathtoinifile

However, this does not seam to work for _progres (the dos client).
Does anyone know if it is possible to change the opsys value on DOS? (I use dos to compile for unix, and if opsys is wrong, preprocessor derectives are wrong).

Thanks in advance,

Jan
 

gcampbell

Member
It begs me to ask the question ... why are you using the OPSYS preprocessor? Why not just use the OPSYS statement? It doesn't make for that much code size difference ....

Later,
Gordon
 

jke

New Member
good question. We've got 3 million lines of code. Nowadays we no longer use the opsys preprocessor (because most developers work on windows, even if they code for unix). But going through all the old code is a hell lot of work we'd like to avoid if possible.
 

bulklodd

Member
jke said:
Hello,

in windows you can change opsys by creating a .ini file with the following lines:

[startup]
Opsys=UNIX

and start prowin32 with -ininame Pathtoinifile

However, this does not seam to work for _progres (the dos client).
Does anyone know if it is possible to change the opsys value on DOS?

Try to use [WinChar Startup] section in ini file.

[WinChar startup]
Opsys=UNIX

HTH
 
Top