I developed a test app for PPC 2003. Got the exe file to the device fine, executed it fine. Ran the app and then closed it. But when I attempt to delete the exe file I get an error " Sharing violation - the file may be in use".

The way I am attempting the delete is:
From ActiveSync (on my desktop) I do explore, in the resulting explorer window I browse to the folder where the file resides and do delete.

The app is quite simple - just displays "Hello world" statically and does nothing more. So after closing it I have no reason to beleive it could still be running.

What am I doing wrong? How do I know who could be sharing the app?

thank
Jayant

Re: Newbie - Cannot delete app file after use by KS

KS
Wed May 26 14:23:26 CDT 2004

This is a common question. When you run an application and click the X in
the top right corner, it DOES NOT exit the application, it only minimizes
it.

In order to stop it, you'll have to go to Start >> Setup >> System >> Memory
>> Running Programs

You can kill your "hello world" program from there.

KS


"Jayant Sane" <anonymous@discussions.microsoft.com> wrote in message
news:434F031B-187F-4E7C-B05E-898D3B39C871@microsoft.com...
>
> I developed a test app for PPC 2003. Got the exe file to the device fine,
executed it fine. Ran the app and then closed it. But when I attempt to
delete the exe file I get an error " Sharing violation - the file may be in
use".
>
> The way I am attempting the delete is:
> From ActiveSync (on my desktop) I do explore, in the resulting explorer
window I browse to the folder where the file resides and do delete.
>
> The app is quite simple - just displays "Hello world" statically and does
nothing more. So after closing it I have no reason to beleive it could still
be running.
>
> What am I doing wrong? How do I know who could be sharing the app?
>
> thanks
> Jayant



Re: Newbie - Cannot delete app file after use by anonymous

anonymous
Wed May 26 16:31:09 CDT 2004

I never imagined clicking the X did'nt exit. Thx :-



Re: Newbie - Cannot delete app file after use by Bruce

Bruce
Wed May 26 20:54:27 CDT 2004

On PPC, it stays running so that it can start up quicker the next time. It
can help save on the battery for some apps. And MS would say that it
enhances the user experience.

--
Bruce Eitman (eMVP)
Senior Engineer