From: Ed Kramer on
I need to be able to delete some files I've installed on a mobile 6.0 device.
These files will likely be in use. On the desktop side I'd just use
MoveFileEx with a MOVEFILE_DELAY_UNTIL_REBOOT flag and be done with it. But
kernel32.dll doesn't exist on the device so I can't just use that API.

After several net searches I was wondering if there was an equivalent API on
the mobile OS that will allow me to do the same thing.

Can anyone point me in the right direction?
From: Peter Foot on
I haven't seen an equivalent API, there is MoveFile for straight forward
move and SHFileOperation to show the user progress while operating. What
might work for your specific scenario is to place the files in a temporary
location yourself and have your app called on startup to move them to their
proper location. Whether this is appropriate depends on exactly what is
using the files and when they are accessed.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - Software Solutions for a Mobile World
In The Hand Ltd - .NET Components for Mobility

"Ed Kramer" <EdKramer(a)discussions.microsoft.com> wrote in message
news:876BA9EC-6454-4E76-B9B1-9D2AEEB83967(a)microsoft.com...
>I need to be able to delete some files I've installed on a mobile 6.0
>device.
> These files will likely be in use. On the desktop side I'd just use
> MoveFileEx with a MOVEFILE_DELAY_UNTIL_REBOOT flag and be done with it.
> But
> kernel32.dll doesn't exist on the device so I can't just use that API.
>
> After several net searches I was wondering if there was an equivalent API
> on
> the mobile OS that will allow me to do the same thing.
>
> Can anyone point me in the right direction?