Pelle, anybody,
I'm not able to get the prototype of the QueueUserAPC function (defined in winbase.h).
Is there something to check in the project options that I'm missing?
More why to use winsock2.h I have to include it before windows.h?
Thanks
You need to define _WIN32_WINNT first
#define _WIN32_WINNT 0x400
#include <windows.h>
#include <winbase.h>
John
Thank-you John.