Hi there, I'm working on something where I need to create a waitable timer event to be used in conjunction of winsock overlapped i/o. for some reason when i tried to set it up using CreateWaitableTimer() in VC++ (6.0), it complained that there's no such function: "error C2065: 'CreateWaitableTimer' : undeclared identifier." The code i use is as follow:
I even tried to compile the code from (here for link )MSDN and it still won't work... if someone knows the reason why this is so please let me know. Thanks in advance..Code:Handel waitEvents = CreateWaitableTimer(NULL, TRUE, "WaitableTimer");