开发者

Error after compiling .IDL file for Firefox accessibility

开发者 https://www.devze.com 2023-01-15 02:19 出处:网络
I\'ve encountered a very annoying problem while working with Firefox MSAA (). I tried to compile IDL file from cmd but it failed. Then I added it to the project and ran build. Aft开发者_如何学编程er V

I've encountered a very annoying problem while working with Firefox MSAA (). I tried to compile IDL file from cmd but it failed. Then I added it to the project and ran build. Aft开发者_如何学编程er VS compiled interface file there were two C files - ISimpleDOMDocument_h.h and ISimpleDOMDocument_i.c I added those to the project. But now I cant build because of such error

error C1853: 'Debug\TestProj.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa) d:\projects\testproj\testproj\isimpledomdocument_i.c

Any clues?


or the precompiled header is C++ and you are using it from C

Which is your problem. Not sure how you got in this pickle, the mumble_i.c file is generated by MIDL and should not contain an #include "stdafx.h" directive. Don't edit the file. Right-click it in Solution Explorer window, Properties, C/C++, Precompiled Headers, Create/Use = "Not using Precompiled Headers".

0

精彩评论

暂无评论...
验证码 换一张
取 消