@ Skizmo

Thanks a lot, i doubt it really happens... because, when i logs off my system with Internet Explorer and other applications running, they wont get terminated.. and when i re-login again, those applications will still be running... so, is the case with Antiviruses and all... so, how can my application too terminate when Windows User is logging off...

sorry. if i'm wrong...

thanks in advance