|
| | |||||||
| Smartphones This is the Microsoft General Public Smartphones Newsgroup. |
| | LinkBack | Thread Tools |
| |||
| problem with kill process Hello everyone!! I am working on WM 6.0. I am running a process from my application and then I am killing the application through Task manager. But when I launch my application again the process remains in the background and shows a reflection.What may be the problem? Any idea. Also which message is generated when we kill an application through task manager. Any help is welcome.Thanks in advance. |
| |||
| Re: problem with kill process On Mar 9, 10:16 am, ankita.man...******.com wrote: > Hello everyone!! > I am working on WM 6.0. I am running a process from my application and > then I am killing the application through Task manager. But when I > launch my application again the process remains in the background and > shows a reflection.What may be the problem? Any idea. Also which > message is generated when we kill an application through task > manager. Any help is welcome.Thanks in advance. Hi evvery one ... i am also having thesame problem.... I am poritng an application from WM 5.0 to WM 6.0. When I am running a process( media player) from my application and then I kill the application through Task manager. But when I launch my application again the process(meida player) remains in the background and shows a reflection.What may be the problem? Any idea.... i would also like to ask which message is generated when we kill an application through task manager as it would be of great help.... Any help is welcome.... Anuj |
| |||
| Re: problem with kill process Hi, when you kill a process through task manager..TerminateProcess is executed. this is not a nice way to kill a process as no notification is sent to the process and it is not given any time to do cleanup. -- Thanks and Regards Amit Ranjan blog:http://amitranjan.wordpress.com "anujshailgupt******.com" wrote: > On Mar 9, 10:16 am, ankita.man...******.com wrote: > > Hello everyone!! > > I am working on WM 6.0. I am running a process from my application and > > then I am killing the application through Task manager. But when I > > launch my application again the process remains in the background and > > shows a reflection.What may be the problem? Any idea. Also which > > message is generated when we kill an application through task > > manager. Any help is welcome.Thanks in advance. > > Hi evvery one ... > i am also having thesame problem.... > I am poritng an application from WM 5.0 to WM 6.0. > When I am running a process( media player) from my application and > then I kill the application through Task manager. But when I > launch my application again the process(meida player) remains in the > background and > shows a reflection.What may be the problem? Any idea.... > > i would also like to ask which > message is generated when we kill an application through task > manager as it would be of great help.... > > Any help is welcome.... > > Anuj > > |
| |||
| Re: problem with kill process On Mar 12, 10:07 am, Amit <amitranjan@nospam-saskendotcom> wrote: > Hi, > > when you kill a process through task manager..TerminateProcess is executed. > this is not a nice way to kill a process as no notification is sent to the > process and it is not given any time to do cleanup. > > -- > Thanks and Regards > Amit Ranjan > blog:http://amitranjan.wordpress.com > > > > "anujshailg...******.com" wrote: > > On Mar 9, 10:16 am, ankita.man...******.com wrote: > > > Hello everyone!! > > > I am working on WM 6.0. I am running a process from my application and > > > then I am killing the application through Task manager. But when I > > > launch my application again the process remains in the background and > > > shows a reflection.What may be the problem? Any idea. Also which > > > message is generated when we kill an application through task > > > manager. Any help is welcome.Thanks in advance. > > > Hi evvery one ... > > i am also having thesame problem.... > > I am poritng an application from WM 5.0 to WM 6.0. > > When I am running a process( media player) from my application and > > then I kill the application through Task manager. But when I > > launch my application again the process(meida player) remains in the > > background and > > shows a reflection.What may be the problem? Any idea.... > > > i would also like to ask which > > message is generated when we kill an application through task > > manager as it would be of great help.... > > > Any help is welcome.... > > > Anuj- Hide quoted text - > > - Show quoted text - hello amit ..... thnx for the precious knowledge.... in my application if the application is killed from taskmanager ...it shows an image ofthe media player momentorily if the media player was used by the application earlier..... how can i get rid of this ... the application gonna be killed from taskmanager atleast in some cases... |
| |||
| Re: problem with kill process Let me see if I got this correct. Your applications starts->loads WMP->application killed by task manager->WMP is still running. Your application restarts->WMP image is shown momentarily (WMP hasnt be instantiated as of now)... Am I correct? -- Thanks and Regards Amit Ranjan blog:http://amitranjan.wordpress.com "anujshailgupt******.com" wrote: > On Mar 12, 10:07 am, Amit <amitranjan@nospam-saskendotcom> wrote: > > Hi, > > > > when you kill a process through task manager..TerminateProcess is executed. > > this is not a nice way to kill a process as no notification is sent to the > > process and it is not given any time to do cleanup. > > > > -- > > Thanks and Regards > > Amit Ranjan > > blog:http://amitranjan.wordpress.com > > > > > > > > "anujshailg...******.com" wrote: > > > On Mar 9, 10:16 am, ankita.man...******.com wrote: > > > > Hello everyone!! > > > > I am working on WM 6.0. I am running a process from my application and > > > > then I am killing the application through Task manager. But when I > > > > launch my application again the process remains in the background and > > > > shows a reflection.What may be the problem? Any idea. Also which > > > > message is generated when we kill an application through task > > > > manager. Any help is welcome.Thanks in advance. > > > > > Hi evvery one ... > > > i am also having thesame problem.... > > > I am poritng an application from WM 5.0 to WM 6.0. > > > When I am running a process( media player) from my application and > > > then I kill the application through Task manager. But when I > > > launch my application again the process(meida player) remains in the > > > background and > > > shows a reflection.What may be the problem? Any idea.... > > > > > i would also like to ask which > > > message is generated when we kill an application through task > > > manager as it would be of great help.... > > > > > Any help is welcome.... > > > > > Anuj- Hide quoted text - > > > > - Show quoted text - > > hello amit ..... thnx for the precious knowledge.... > in my application if the application is killed from taskmanager ...it > shows an image ofthe media player momentorily if the media player was > used by the application earlier..... > > how can i get rid of this ... the application gonna be killed from > taskmanager atleast in some cases... > > |
| |||
| Re: problem with kill process On Mar 12, 10:45 am, "anujshailg...******.com" <anujshailg...******.com> wrote: > On Mar 12, 10:07 am, Amit <amitranjan@nospam-saskendotcom> wrote: > > > > > > > Hi, > > > when you kill a process through task manager..TerminateProcess is executed. > > this is not a nice way to kill a process as no notification is sent to the > > process and it is not given any time to do cleanup. > > > -- > > Thanks and Regards > > Amit Ranjan > > blog:http://amitranjan.wordpress.com > > > "anujshailg...******.com" wrote: > > > On Mar 9, 10:16 am, ankita.man...******.com wrote: > > > > Hello everyone!! > > > > I am working on WM 6.0. I am running a process from my application and > > > > then I am killing the application through Task manager. But when I > > > > launch my application again the process remains in the background and > > > > shows a reflection.What may be the problem? Any idea. Also which > > > > message is generated when we kill an application through task > > > > manager. Any help is welcome.Thanks in advance. > > > > Hi evvery one ... > > > i am also having thesame problem.... > > > I am poritng an application from WM 5.0 to WM 6.0. > > > When I am running a process( media player) from my application and > > > then I kill the application through Task manager. But when I > > > launch my application again the process(meida player) remains in the > > > background and > > > shows a reflection.What may be the problem? Any idea.... > > > > i would also like to ask which > > > message is generated when we kill an application through task > > > manager as it would be of great help.... > > > > Any help is welcome.... > > > > Anuj- Hide quoted text - > > > - Show quoted text - > > hello amit ..... thnx for the precious knowledge.... > in my application if the application is killed from taskmanager ...it > shows an image ofthe media player momentorily if the media player was > used by the application earlier..... > > how can i get rid of this ... the application gonna be killed from > taskmanager atleast in some cases...- Hide quoted text - > > - Show quoted text - hey amit ... i am using CreateInstance to launch the mediaplayer insted of Createprocess.... so even in this case will the terminateprocess be called when i kill the process from taskmanager ??? i am checking for any previous instances of the media player also... Anuj |
| |||
| Re: problem with kill process On Mar 12, 11:33 am, "anujshailg...******.com" <anujshailg...******.com> wrote: > On Mar 12, 10:45 am, "anujshailg...******.com" > > > > > > <anujshailg...******.com> wrote: > > On Mar 12, 10:07 am, Amit <amitranjan@nospam-saskendotcom> wrote: > > > > Hi, > > > > when you kill a process through task manager..TerminateProcess is executed. > > > this is not a nice way to kill a process as no notification is sent to the > > > process and it is not given any time to do cleanup. > > > > -- > > > Thanks and Regards > > > Amit Ranjan > > > blog:http://amitranjan.wordpress.com > > > > "anujshailg...******.com" wrote: > > > > On Mar 9, 10:16 am, ankita.man...******.com wrote: > > > > > Hello everyone!! > > > > > I am working on WM 6.0. I am running a process from my application and > > > > > then I am killing the application through Task manager. But when I > > > > > launch my application again the process remains in the background and > > > > > shows a reflection.What may be the problem? Any idea. Also which > > > > > message is generated when we kill an application through task > > > > > manager. Any help is welcome.Thanks in advance. > > > > > Hi evvery one ... > > > > i am also having thesame problem.... > > > > I am poritng an application from WM 5.0 to WM 6.0. > > > > When I am running a process( media player) from my application and > > > > then I kill the application through Task manager. But when I > > > > launch my application again the process(meida player) remains in the > > > > background and > > > > shows a reflection.What may be the problem? Any idea.... > > > > > i would also like to ask which > > > > message is generated when we kill an application through task > > > > manager as it would be of great help.... > > > > > Any help is welcome.... > > > > > Anuj- Hide quoted text - > > > > - Show quoted text - > > > hello amit ..... thnx for the precious knowledge.... > > in my application if the application is killed from taskmanager ...it > > shows an image ofthe media player momentorily if the media player was > > used by the application earlier..... > > > how can i get rid of this ... the application gonna be killed from > > taskmanager atleast in some cases...- Hide quoted text - > > > - Show quoted text - > > hey amit ... i am using CreateInstance to launch the mediaplayer > insted of Createprocess.... > so even in this case will the terminateprocess be called when i kill > the process from taskmanager ??? > > i am checking for any previous instances of the media player also... > > Anuj- Hide quoted text - > > - Show quoted text - yea amit u got it absolutely right .... our applications starts->loads WMP->application killed by task manager- >WMP is still running ( m not sure as song is not playing) our application restarts-> whn i go to home screen-> WMP image is shown momentarily -> comes to home screen... |
| |||
| Re: problem with kill process Hi Anuj, I will try to re create the scenario and post my findings here. Meanwhile you can try another approach,have a process running in background which checks if your process is running.If and when it is killed by task manager it can do the necessary cleanup. -- Thanks and Regards Amit Ranjan blog:http://amitranjan.wordpress.com "anujshailgupt******.com" wrote: > On Mar 12, 11:33 am, "anujshailg...******.com" > <anujshailg...******.com> wrote: > > On Mar 12, 10:45 am, "anujshailg...******.com" > > > > > > > > > > > > <anujshailg...******.com> wrote: > > > On Mar 12, 10:07 am, Amit <amitranjan@nospam-saskendotcom> wrote: > > > > > > Hi, > > > > > > when you kill a process through task manager..TerminateProcess is executed. > > > > this is not a nice way to kill a process as no notification is sent to the > > > > process and it is not given any time to do cleanup. > > > > > > -- > > > > Thanks and Regards > > > > Amit Ranjan > > > > blog:http://amitranjan.wordpress.com > > > > > > "anujshailg...******.com" wrote: > > > > > On Mar 9, 10:16 am, ankita.man...******.com wrote: > > > > > > Hello everyone!! > > > > > > I am working on WM 6.0. I am running a process from my application and > > > > > > then I am killing the application through Task manager. But when I > > > > > > launch my application again the process remains in the background and > > > > > > shows a reflection.What may be the problem? Any idea. Also which > > > > > > message is generated when we kill an application through task > > > > > > manager. Any help is welcome.Thanks in advance. > > > > > > > Hi evvery one ... > > > > > i am also having thesame problem.... > > > > > I am poritng an application from WM 5.0 to WM 6.0. > > > > > When I am running a process( media player) from my application and > > > > > then I kill the application through Task manager. But when I > > > > > launch my application again the process(meida player) remains in the > > > > > background and > > > > > shows a reflection.What may be the problem? Any idea.... > > > > > > > i would also like to ask which > > > > > message is generated when we kill an application through task > > > > > manager as it would be of great help.... > > > > > > > Any help is welcome.... > > > > > > > Anuj- Hide quoted text - > > > > > > - Show quoted text - > > > > > hello amit ..... thnx for the precious knowledge.... > > > in my application if the application is killed from taskmanager ...it > > > shows an image ofthe media player momentorily if the media player was > > > used by the application earlier..... > > > > > how can i get rid of this ... the application gonna be killed from > > > taskmanager atleast in some cases...- Hide quoted text - > > > > > - Show quoted text - > > > > hey amit ... i am using CreateInstance to launch the mediaplayer > > insted of Createprocess.... > > so even in this case will the terminateprocess be called when i kill > > the process from taskmanager ??? > > > > i am checking for any previous instances of the media player also... > > > > Anuj- Hide quoted text - > > > > - Show quoted text - > > yea amit u got it absolutely right .... > > our applications starts->loads WMP->application killed by task manager- > >WMP > is still running ( m not sure as song is not playing) > our application restarts-> whn i go to home screen-> WMP image is > shown momentarily -> comes to home screen... > > |
| |||
| Re: problem with kill process On Mar 12, 12:07 pm, Amit <amitranjan@nospam-saskendotcom> wrote: > Hi Anuj, > > I will try to re create the scenario and post my findings here. > Meanwhile you can try another approach,have a process running in background > which checks if your process is running.If and when it is killed by task > manager it can do the necessary cleanup. > -- > Thanks and Regards > Amit Ranjan > blog:http://amitranjan.wordpress.com > > > > "anujshailg...******.com" wrote: > > On Mar 12, 11:33 am, "anujshailg...******.com" > > <anujshailg...******.com> wrote: > > > On Mar 12, 10:45 am, "anujshailg...******.com" > > > > <anujshailg...******.com> wrote: > > > > On Mar 12, 10:07 am, Amit <amitranjan@nospam-saskendotcom> wrote: > > > > > > Hi, > > > > > > when you kill a process through task manager..TerminateProcess is executed. > > > > > this is not a nice way to kill a process as no notification is sent to the > > > > > process and it is not given any time to do cleanup. > > > > > > -- > > > > > Thanks and Regards > > > > > Amit Ranjan > > > > > blog:http://amitranjan.wordpress.com > > > > > > "anujshailg...******.com" wrote: > > > > > > On Mar 9, 10:16 am, ankita.man...******.com wrote: > > > > > > > Hello everyone!! > > > > > > > I am working on WM 6.0. I am running a process from my application and > > > > > > > then I am killing the application through Task manager. But when I > > > > > > > launch my application again the process remains in the background and > > > > > > > shows a reflection.What may be the problem? Any idea. Also which > > > > > > > message is generated when we kill an application through task > > > > > > > manager. Any help is welcome.Thanks in advance. > > > > > > > Hi evvery one ... > > > > > > i am also having thesame problem.... > > > > > > I am poritng an application from WM 5.0 to WM 6.0. > > > > > > When I am running a process( media player) from my application and > > > > > > then I kill the application through Task manager. But when I > > > > > > launch my application again the process(meida player) remains in the > > > > > > background and > > > > > > shows a reflection.What may be the problem? Any idea.... > > > > > > > i would also like to ask which > > > > > > message is generated when we kill an application through task > > > > > > manager as it would be of great help.... > > > > > > > Any help is welcome.... > > > > > > > Anuj- Hide quoted text - > > > > > > - Show quoted text - > > > > > hello amit ..... thnx for the precious knowledge.... > > > > in my application if the application is killed from taskmanager ...it > > > > shows an image ofthe media player momentorily if the media player was > > > > used by the application earlier..... > > > > > how can i get rid of this ... the application gonna be killed from > > > > taskmanager atleast in some cases...- Hide quoted text - > > > > > - Show quoted text - > > > > hey amit ... i am using CreateInstance to launch the mediaplayer > > > insted of Createprocess.... > > > so even in this case will the terminateprocess be called when i kill > > > the process from taskmanager ??? > > > > i am checking for any previous instances of the media player also... > > > > Anuj- Hide quoted text - > > > > - Show quoted text - > > > yea amit u got it absolutely right .... > > > our applications starts->loads WMP->application killed by task manager- > > >WMP > > is still running ( m not sure as song is not playing) > > our application restarts-> whn i go to home screen-> WMP image is > > shown momentarily -> comes to home screen...- Hide quoted text - > > - Show quoted text - sure amit .... |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't kill a process | Jarod | Windows XP | 1 | 02-05-2008 09:10 AM |
| Is there a better "kill" than "End process" in TaskManager? | Kevin Yu | Windows XP | 2 | 11-17-2007 05:00 AM |
| Vista Ultimate does not kill a process | Louis Li | Windows Vista | 0 | 08-13-2007 11:30 PM |
| Problem with Generic Host Process for Win 32 Services | kwiz40 | Windows XP | 0 | 01-04-2007 03:58 AM |
| Problem with Process.GetCurrentProcess() when starting a service | Benzi Eilon | Windows XP | 0 | 01-04-2007 03:01 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |