Compiler probs with O/S version
Posted on 2003-10-27
I am getting an error when compiling :
..\..\..\..\Intermediate\ProxyStub\gndbaseps\gndbase_p.c(106) : fatal error C118
9: #error : You need a Windows 2000 or later to run this stub because it uses t
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Error executing c:\windows\system32\cmd.exe.
I am building on WIN 2003 Server, and i know that the problem is due to having the wrong O/S code, but i dont know where the compiler checks for this version of windows. I would ideally like to change the code so that the compiler accepts the new windows O/S version. Does anybody know if this is possible. ? ?
This is the part of the code it runs through to generate the error :
#error Invalid build platform for this stub.
#error You need a Windows 2000 or later to run this stub because it uses these features:
#error /robust command line switch.
#error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
#error This app will die there with the RPC_X_WRONG_STUB_VERSION error.
i would be very greatful of any help in finding out how the compiler checks for the O/S version.