Click here to get back home

problem with kill process

 HomeNewsGroups | Search | About
 microsoft.public.smartphone    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
problem with kill process ankita.mangal 03-09-2007
Get Chitika Premium
Posted by anujshailgupt@gmail.com on March 12, 2007, 2:33 am
Please log in for more thread options
On Mar 12, 10:45 am, "anujshailg...@gmail.com"
>
>
>
>
>
> > 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...@gmail.com" wrote:
> > > On Mar 9, 10:16 am, ankita.man...@gmail.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


Posted by anujshailgupt@gmail.com on March 12, 2007, 2:40 am
Please log in for more thread options
On Mar 12, 11:33 am, "anujshailg...@gmail.com"
> On Mar 12, 10:45 am, "anujshailg...@gmail.com"
>
>
>
>
>
>
> > > 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...@gmail.com" wrote:
> > > > On Mar 9, 10:16 am, ankita.man...@gmail.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...


Posted by Amit on March 12, 2007, 3:07 am
Please log in for more thread options
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@gmail.com" wrote:

> On Mar 12, 11:33 am, "anujshailg...@gmail.com"
> > On Mar 12, 10:45 am, "anujshailg...@gmail.com"
> >
> >
> >
> >
> >
> >
> > > > 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...@gmail.com" wrote:
> > > > > On Mar 9, 10:16 am, ankita.man...@gmail.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...
>
>

Posted by anujshailgupt@gmail.com on March 12, 2007, 6:38 am
Please log in for more thread options
> 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...@gmail.com" wrote:
> > On Mar 12, 11:33 am, "anujshailg...@gmail.com"
> > > On Mar 12, 10:45 am, "anujshailg...@gmail.com"
>
>
> > > > > 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...@gmail.com" wrote:
> > > > > > On Mar 9, 10:16 am, ankita.man...@gmail.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 ....


Similar ThreadsPosted
How to kill/stop process for Mobile 5.0 Smartphone July 25, 2006, 5:12 am
Detecting CPU usage of a Process ... March 20, 2008, 10:11 pm
Kill PMSNserver.exe permanently? September 4, 2006, 7:56 am
MMS Problem!! November 29, 2006, 9:35 am
WM6 problem using IE January 5, 2008, 3:15 pm
SP1 upgrade problem June 7, 2005, 8:30 am
Serious OWA ActiveSync Problem June 14, 2005, 4:50 pm
DL System v2.0 Problem June 17, 2005, 5:11 pm
Activesync Problem July 17, 2005, 4:52 pm
Mpx220 problem September 29, 2005, 12:51 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap