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.

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

php require help needed
Ok i tried to use the search funtion but the word require is everywhere.

i'm really new to cr

Delete all files in folder except with certain name
I have a script that I want to delete all files in a folder (taken from a database) except for one n

Alternate messaging
I have 4 strings in MySQL db1

$string1 : Hello
$string2 : Hi
$string3 : Great
$strin

Print out contents of to Excel
I have got this script that gathers all the data that I need but I need it to send it to excel inste

Calling variables
I want to call this to my website but it doesn't display what I want it to,

Code: <h5&

Add weeks in a query?
I have a SQL that summarizes the quantity per week. The weeks that has no value does not exist in th

moving mouse to display image coordinates
I have an existing MFC application that shows an image in the main window.
I'd like to be able to

pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the n

Where is my php.ini???
Hi

First off - apologies - i'm not a coder so this may sound very amateur.

I'm having

question about stripslashes and real_escape_string
im cleaning up an old app that I wrote fixing some of the vulernabilities from attacks.

I hav

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