vc6使用RegisterWaitForSingleObject的问题?vc6下使用RegisterWaitForSingleObject,编译时报告:error C206
vc6使用RegisterWaitForSingleObject的问题?
vc6下使用RegisterWaitForSingleObject,编译时报告:
error C2065: 'RegisterWaitForSingleObject' : undeclared identifier,也包含了头文件<winbase.h>,请问vc6下如何处理能编译过去?
另:看该函数的微软的帮助,要求Windows XP [desktop apps only],是不是服务程序不能使用该函数?
[解决办法]
加上这个试下,不行就是你的SDK版本太低了.
#define _WIN32_WINNT 0x0500
[解决办法]
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Winbase.h; include Windows.h.
Library: Use Kernel32.lib.
