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

Creating Images from images in PHP
Okay well I am trying to make a 'dynamic' calender image with PHP.

I have images like this:

. and .. appearing instead of pictures
First of all, thanks very much for providing this forum. It is very much appreciated!

My son

Cron Job and Output
I have php codes running under a cron job.
But everytime i output (echo) , it comes out as comple

grouping within a foreach?
hello all,

I currently have a list of products spit out from my db via a foreach loop. Right

Question about GD library
I am trying to make an image that shows a random quote from my database.


However I want t

Logging and nologging bulk insert
Hi,

oracle version: 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production

Port scanner problem
Hai
recently i developed one app through which u can check the opened and closed ports under an

PHP and SMS
Hi all forum members. I am new here and am unsure what category shoild I post this in.
Moderator

IIS7 and getimagesize() problem
I have just discovered after hrs of trying to fix a problem where it's coming from. It's to do with

Last Weeks sDate and eDate.
sDate - Start Date
eDate - End Date

I need to pull two dates for "Last Week" whi

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