I am porting to vs.net 2003. I get the following compile time error:

fatal error C1189: #error : You need a Windows 2000 or later to run this stub because it uses these features:

the error is caused by the following code generated by MIDL.

#if !(TARGET_IS_NT50_OR_LATER)
#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.
#endif

I searched for TARGET_IS_NT50_OR_LATER and it is only in files generated by the MIDL.

The funny thing is that I am compiling on XP PRO! What do I not have set correctly?

thanx