各位前辈,在Visual C++ 6.0下面Build一个例程时,编译器提示error C2039: 'CoWaitForMultipleHandles' : is not a member of '`global namespace'',在vc的头文件中确实也找不到这样一个函数的声明,然后我到microsoft的网站上搜索了一下,它提示该函数在objbase.h中声明,但没看到!想着是我的Visual C++ 6.0版本太老,就download了一个Visual Studio Service Pack 6.0来装了,结果问题依然,请问怎么解决?谢谢!
[in] DWORD dwFlags,
[in] DWORD dwTimeout,
[in] ULONG cHandles,
[in, size_is(cHandles)] HANDLE *pHandles,
[out] DWORD *pdwIndex); The dwFlags parameter is a bitmask that can be some combination of the following:
enum COWAIT_FLAGS {
COWAIT_WAITALL = 0x00000001,
COWAIT_ALERTABLE = 0x00000002
};
May 1999
msj
http://www.microsoft.com/msj/0599/com/com0599.aspx
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/htm/cmf_a2c_50z7.asp