Incorrect <rpcproxy.h> version. Use the header that matches with the MIDL compiler

To solve this problem, check the ordering of directories searched for include files (in VC6, it’s Tools | Options | Directories | Show directories for: Include files). SDKs and Visual Studio have different versions.