Using Windows message as a Handle


Posted on 16th Feb 2014 07:03 pm by admin

Hi,

I am writing one of my first multithreaded programs.

Did you know?Explore Trending and Topic pages for more stories like this.
In one of the thread, I am using WaitForSingleObject method to detect the USER LOG-OFF on a system.

May I know, that is there any way to convert Windows Messages to Handles.

Or is there any other better way to make that particular Thread run when a system event happens like user log-off.

Thanks in advance.
No comments posted yet

Your Answer:

Login to answer
126 Like 6 Dislike
Previous forums Next forums
Other forums

returning data from an ssh2_exec()
here's what i got.


$conn = ssh2_connect($this->_host);
ssh2_auth_password($c

Extract text from string
Hi folks,

I have a string that looks like this:

aaaaaaaaaa:
bbbbbbbbbb (ccccccccc)

Adding to an Int row in db
Hi, i have a database which houses all of the users of my site. One of the columns is for points whi

php wont update my db
hello,

sorry for posting in mysql forum but i dont know where exactly is the problem but here

Warning: mysql_num_rows() expects parameter 1
When i add quote at the end of this link
example:http://localhost/articlemania/category.php?cid=3

Get to know your fellow coder
I think it's time we got personal around here. There's a lot of code swapping and a few members kno

How to make URL loads only on login
On my page, when a user login he's redirects to user_home.php. I made it also to open the chat scree

Upload, SSL and more php help
I recently just installed a ssl cert and do i use https for the whole site or just for the checkout.

mail() says sent but no email received
My code is quite simple:

Code: <?php
$to = "Ty44ler@yahoo.com";
$subje

Why does first ever HttpSendRequest take longer?
I promise this isn't as simple as it sounds. I'm wondering why the the first ever call to HttpSendRe

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash