Click here to Skip to main content
11,806,575 members (40,162 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VC8.0 C++
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 2-Mar-11 18:54pm
Edited 2-Mar-11 19:41pm
SAKryukov at 3-Mar-11 0:59am
Language, platform..?! Oh, I see, it must be native Windows...
Gokulnath007 at 3-Mar-11 1:06am
SAKryukov at 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...)
Gokulnath007 at 3-Mar-11 1:47am
I just want some example of createevent.. May be upto 10 events
SAKryukov at 3-Mar-11 2:08am
Code example in my second reference. Did you read it?
Gokulnath007 at 3-Mar-11 1:57am
How to check whether the event is created successfully or not??
SAKryukov at 3-Mar-11 2:03am
Read my reference again, it answers.
Gokulnath007 at 3-Mar-11 2:00am
Waitfor multipleobject returns -1. how to resolve it.. pls help me
SAKryukov at 3-Mar-11 2:07am
Wow! Now read on WaitForXXX -- the answer is clear!

By the way, not, after you response I know my answer is correct.

Gokulnath007 at 3-Mar-11 2:09am
SAKryukov at 3-Mar-11 2:12am
Gokulnath007, I need to talk to you.

It looks like you do not concentrate and waste my time. Read Answers carefully before asking a new one. Now I understand why you don't accept Answers. You don't work on them, don't clarify or respond properly otherwise. If you do not cooperate properly, you won't get any help.

I wish you the best, but you should work in your own stuff accordingly.


1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Of course you can!

I cannot see why not. I cannot see why. You don't need any code: just call this:[^], but you probably know this already. Did you see this code sample:[^]? 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. Smile | :)

Sandeep Mewara at 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:
SAKryukov at 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.
SAKryukov at 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.
Sandeep Mewara at 3-Mar-11 2:43am
This is a candidate for blacklisting.
Already on my list, so told you.
SAKryukov at 3-Mar-11 3:01am
OK, thanks again.
Gokulnath007 at 3-Mar-11 5:52am
thank you
SAKryukov at 3-Mar-11 10:56am
You're welcome. Please, pay attention.
Will formally accept my answer this time?

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

  Print Answers RSS
0 ppolymorphe 265
1 OriginalGriff 190
2 Richard Deeming 175
3 George Jonsson 125
4 Philippe Mori 80
0 OriginalGriff 3,380
1 Maciej Los 1,990
2 CPallini 1,915
3 KrunalRohit 1,907
4 ppolymorphe 1,317

Advertise | Privacy | Mobile
Web01 | 2.8.151002.1 | Last Updated 3 Mar 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100