XP64上的错误C3861 [英] error C3861 on XP64

查看:88
本文介绍了XP64上的错误C3861的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在XP32上有一个可以在Visual Studio .NET 2003上编译的应用程序,但是当我尝试在XP64机器上使用Visual Studio .NET 2003和Windows SDK 2003 SP1的Platform SDK进行编译时,我得到了C3861错误,例如:

I have an application that compiles fine on Visual Studio .NET 2003 on XP32, but when I try to compile it using Visual Studio .NET 2003 and Platform SDK for Windows Server 2003 SP1 on a XP64 machine, I get C3861 errors such as:

错误C3861:'swprintf':找不到标识符

error C3861: 'swprintf': identifier not found

错误C3861 :'_ wremove':找不到标识符

error C3861: '_wremove': identifier not found

错误C3861:'_ wfopen':找不到标识符

error C3861: '_wfopen': identifier not found

错误C3861:'fwprintf':找不到标识符

error C3861: 'fwprintf': identifier not found

我甚至尝试过包含"wchar.h"明确地,但这没有帮助。有什么想法吗?

I even tried including "wchar.h" explicitly, but that didn't help.  Any ideas?

提前致谢!

推荐答案

我应该提到我正在使用"nmake"在64位计算机上(因为Platform SDK)。当我添加"showIncludes"时选项,wchar.h确实显示。

I should mention that I am using "nmake" on the 64-bit machine (because of Platform SDK).  And when I add the "showIncludes" option, wchar.h does show up.


这篇关于XP64上的错误C3861的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆