I'm migrating an old C++ project to Visual Studio 2013. The project contains an .odl
file. When I try to build the project I'm getting the following errors:
Error 3 error MIDL2025: syntax error : expecting ; near "{" C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h 888 1
Error 2 error MIDL2003: redefinition : Int64ShllMod32 C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h 888 1
Error 1 error MIDL2003: redefinition : INT C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h 387 1
In the .odl
file are imported the following idls
:
import "oaidl.idl";
import "mshtml.idl";
I've tried the workaround from the following link : http://blogs.msdn.com/b/vcblog/archive/2007/06/12/com-interface-redefinition-error.aspx but it didn't solved my problem.
I don't have any redefinition of Int64ShllMod32
or INT
in my project files. Any idea what can cause these errors ?
Thank you !