Click here to Skip to main content
15,880,608 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want use CreateEvent (multiple times and independent from each other) to
create some 20 events.

Is it possible? If so, how ? Any example?
Posted
Updated 2-Mar-11 19:41pm
v2
Comments
Sergey Alexandrovich Kryukov 3-Mar-11 0:59am    
Language, platform..?! Oh, I see, it must be native Windows...
--SA
Gokulnath007 3-Mar-11 1:06am    
QT...
Sergey Alexandrovich Kryukov 3-Mar-11 1:13am    
Qt is not a platform!
Sorry, I already answered in Windows before you answered. So, if this is VC, it means you're using QT with Windows? And C++? OK, my answer is about Windows API events. It may or may not be applicable...
(I have only rudimentary Qt experience, a while ago...)
--SA
Gokulnath007 3-Mar-11 1:47am    
I just want some example of createevent.. May be upto 10 events
Sergey Alexandrovich Kryukov 3-Mar-11 2:08am    
Code example in my second reference. Did you read it?
--SA

1 solution

Of course you can!

I cannot see why not. I cannot see why. You don't need any code: just call this: http://msdn.microsoft.com/en-us/library/ms682396(v=vs.85).aspx[^], but you probably know this already. Did you see this code sample: http://msdn.microsoft.com/en-us/library/ms686915(v=vs.85).aspx[^]? I think this is clear.

Unfortunately, it would not help you if you don't understand the purpose. (I suspect you don't, otherwise you would not ask this Question.)

Unfortunately, I cannot help you any further, because I don't know your goals and your idea. What do you want to do with events.

So, I'm puzzled about the purpose of your Question. I you have more sensible Question, don't hesitate to ask — I create those event all the time albeit not in such big numbers. :-)

—SA
 
Share this answer
 
v3
Comments
Sandeep Mewara 3-Mar-11 1:43am    
5! for investing so much time and effort on a question not well formulated.

BTW, if you have not noticed, OP has asked some good amount of QT questions till date. Not sure the level of them (as I don't know Qt), but few sounded simple. Keeping this apart, OP has hardly closed any question till date.

Earlier, I already suggested him to read/learn about it. Don't know if that was even thought of or totally ignored. :doh:
Sergey Alexandrovich Kryukov 3-Mar-11 2:05am    
Thank you, Sandeep.
I can see that my answer is correct, base on next comment of OP.
I'll removed my disclaimer.
--SA
Sergey Alexandrovich Kryukov 3-Mar-11 2:16am    
Thanks for bringing the issues to my attention. After your comment I reviewed a history of a few Questions by OP and now understand what's going on. I found appropriate to warn and request decent collaboration from OP, see my comment to the Question. This is a candidate for blacklisting.
--SA
Sandeep Mewara 3-Mar-11 2:43am    
This is a candidate for blacklisting.
Already on my list, so told you.
Sergey Alexandrovich Kryukov 3-Mar-11 3:01am    
OK, thanks again.
--SA

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