QueueUserAPC definition

Started by frankie, August 25, 2005, 12:05:22 PM

Previous topic - Next topic

frankie

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
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

JohnF

You need to define _WIN32_WINNT first

#define _WIN32_WINNT 0x400
#include <windows.h>
#include <winbase.h>

John

frankie

"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide