[Ace-users] ACE Access violation in ACE_TP_Reactor while staticlinking
666khronos at gmail.com
666khronos at gmail.com
Mon Feb 4 09:25:38 CST 2008
Hi Steve,
The problem was in order to connect header file.
if:
#define _WINSOCKAPI_
#include <windows.h>
#include <winsock2.h>
#include <ace/OS.h>
#include <ace/Reactor.h>
...etc
.. Access violation
if
#include <ace/OS.h>
#include <ace/Reactor.h>
...etc
#define _WINSOCKAPI_
#include <windows.h>
#include <winsock2.h>
.. OK
If I use the given order - all facilities are functioning properly.
Perhaps it is connected with any of the defines in the header files of
ACE and Platform SDK.
Cyril
More information about the Ace-users
mailing list