|
From: Gisle V. <gi...@bg...> - 2004-08-07 08:48:07
|
"David Wade Hagar" <dw...@bl...> said: > This is completely a guess... > > However, could it be because when running a program in Windows NT based > OS's it appears to load a subsystem to run that application. So, it may > not check the OS version but instead check the subsystem version. Try > using it with JUST the subsystem version requirments. It may also be > that windows requires both of them to do it properly. Thanks for a quick response. Using only: -Wl,--major-subsystem-version,5,--minor-subsystem-version,10 gave the previous " .. is not a valid Win32 program..". Using 5,00, it loads okay. Subsystem version 5.0? I've thought Win-XP was part of the NT family which started as subsystem ver. 4.0. Or is that required version of the console mode sub-system (3)? Well, it's not so important. The reason I wanted to add this is that the program communicates with a device-driver (OpenVPN's tap-drvr) that only works on Win-2K+. Off course it's better to check this at runtime. --gv |