【发布时间】:2015-03-24 19:28:54
【问题描述】:
我正在 CPP 中创建简单的 Web 服务客户端。我在 svcutil ans wsutil utilites 的帮助下从 WSDL 生成了源文件。最后我得到了 Web 服务接口 header 和 C 文件。
当我将 C 文件包含到使用预编译标头的控制台应用程序中时,我收到消息:
Error 3 error C1853: 'Debug\TestLib3.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)
如何解决这个问题?
【问题讨论】:
标签: c++ visual-c++ svcutil.exe