Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am using Windows 7 OS 64 bit. CreateEvent returns 0x0 value to the handle.. pls help me..
Posted
Comments
Sergey Alexandrovich Kryukov 3-Mar-11 3:05am    
Stop repeating so close questions. In this case, post your code. By the way, you never answered when I asked for the platform. Why? Start collaborating! Right now you ask many questions but don't get much help.
--SA

1 solution

Here is an example of the CreateEvent function:

HANDLE Event = CreateEvent(NULL,TRUE,FALSE,L"anEVENT");

if(GetLastError() == 0){//Success}

check the following link for more info on the function:
http://msdn.microsoft.com/en-us/library/ms682396(v=vs.85).aspx[^]

post the code your using if your having any more trouble.


Regards,

D, Kurt.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900