Monday, July 6, 2009

running server all the time !!!

Do you want to run your process all the time until its been closed explicitly by an applicaiton.

Its simple to do..

DO NOT STOP YOUR ACTIVE SCHEDULER UNTIL YOU KILL YOUR PROCESS !!!

Implement your Decrementsessions function as follows,

{
iSessionCount--;
if ( aShutDown )
{
CActiveScheduler::Stop();
}
}

Read More......
 
Template design by Amanda @ Blogger Buster