- Code: Select all
error C2039: “CreateEvent”:is not “`global namespace'” member. .\boost_1_43_0\boost\asio\detail\win_iocp_handle_service.hpp 261
error C3861: “CreateEvent”: unresolve......\boost\boost_1_43_0\boost\asio\detail\win_iocp_handle_service.hpp 261
To fix the bug ,you must use POCO macro:
- Code: Select all
#define POCO_NO_UNWINDOWS
this macro will disable \poco-1.3.6p2\Foundation\include\Poco\UnWindows.h .
but ,you will encounter another error:
- Code: Select all
error 4 fatal error C1189: #error : WinSock.h has already been included ..\boost\boost_1_43_0\boost\asio\detail\socket_types.hpp 27
you must define
- Code: Select all
#define WIN32_LEAN_AND_MEAN
before any #define instructor.





