I compile the code as DLL in winxp with libevent.The compiler is msvc90.But It have some error as the following:
evsig_init:socketpair:Successful WSAStartup not yet performed [WSANOTINITIALISED]
How to make it work correctly?
I have tried to compile in mingw and have the same error.