Open GoogleCodeExporter opened 9 years ago
直接使用整数保存指针地址,在32位和64位环境下不兼容.可以��
�用ULONG_PTR.
ULONG_PTR completionKey;
BOOL isSuccess = GetQueuedCompletionStatus( completionPort, &bytesTransferred,
&completionKey, &overlapped, timeout );
/// ULONG_PTR的定义为:
#if defined(_WIN64)
typedef unsigned __int64 ULONG_PTR;
#else
typedef unsigned long ULONG_PTR;
#endif
Original comment by cpp.ch...@gmail.com
on 16 Apr 2012 at 2:18
Thanks
Original comment by zhouqian...@gmail.com
on 20 Apr 2012 at 3:34
Original issue reported on code.google.com by
zhouqian...@gmail.com
on 26 Dec 2011 at 6:30