Using Windows message as a Handle

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


I am writing one of my first multithreaded programs.

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

update sql when refresh - php
I have made a table (attachement)

the users can update the sql database using + or x bu

default SAP userid
hi,, I just like to know if it is ok to use the default SAP user id (SAP*)?

PHP code for a proxy
I was wondering which function I could use to create an online proxy tool. I was thinking cURL would

Program with calculate Meteorologic measurements
Hello I'm a beginner and I want to make a program with calculate Meteorologic measurements:

Help with search.php
Hello All

I need the search engine on a site I am building at the moment to display the searc

Displaying image pathname instead of image

Im trying to upload and then display images from a mysql database - Its only basic and

php problem?
I don't think I'm stupid, but maybe I am.

I am working on a sit for a friend I am try to put

temporary objects
Until now i thought every temporary object in C++ is created as constant. I'm wondering why my compi

Call db table from any PHP file

I want to be able to call a database table that will be setup in another file called init

At max how many columns is advisable to create in a table/view
Hi All,
I have two transaction table from which i want to create a simple view or material

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