Technology Questions

Go Back   Technology Questions > Hardware Questions > Electronics > Smartphones

Smartphones This is the Microsoft General Public Smartphones Newsgroup.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 03-08-2007, 09:30 PM
ankita.mangal@gmail.com
Newsgroup Contributor
 
Posts: n/a
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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 03-08-2007, 09:30 PM
  #2 (permalink)  
Old 03-08-2007, 11:15 PM
anujshailgupt@gmail.com
Newsgroup Contributor
 
Posts: n/a
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 03-11-2007, 09:15 PM
Amit
Newsgroup Contributor
 
Posts: n/a
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
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 03-11-2007, 10:00 PM
anujshailgupt@gmail.com
Newsgroup Contributor
 
Posts: n/a
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...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 03-11-2007, 10:30 PM
Amit
Newsgroup Contributor
 
Posts: n/a
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...
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 03-11-2007, 10:45 PM
anujshailgupt@gmail.com
Newsgroup Contributor
 
Posts: n/a
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 03-11-2007, 10:45 PM
anujshailgupt@gmail.com
Newsgroup Contributor
 
Posts: n/a
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...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8 (permalink)  
Old 03-11-2007, 11:15 PM
Amit
Newsgroup Contributor
 
Posts: n/a
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...
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #9 (permalink)  
Old 03-12-2007, 02:45 AM
anujshailgupt@gmail.com
Newsgroup Contributor
 
Posts: n/a
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 ....

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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?

All times are GMT -8. The time now is 07:51 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0