-
November 19th, 2009, 01:17 PM
#1
Mfc application killed when windows service killed
Hi,
I have written a window XP service. My windows XP service launches an mfc window application. I am using ShellExecute API to launch mfc window app from service at service startup. When I kill/stop my service from task manager (TM->ProcessTab->RightClick->EndProcess) my window application also getting killed. I want that even if my service got killed/stopped, my mfc window application should not get killed. Is it possible?
Thanks a lot in Adv.
~Anupam
-
November 20th, 2009, 06:05 AM
#2
Re: Mfc application killed when windows service killed
You tell us if it's possible. Who knows your app better than you do?
Did you ever attempt to understand what in fact happens in your app? Does it crash on something related to your service, like shared memory, pipe or socket? Or actually gets terminated by OS? Did you try to launch it manually and see if it survives in this case?
Best regards,
Igor
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|