Bakis

Hi

I'm writing my first Device app...

I get the following error from seemingly innocuous code:

Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '%CSIDL_PROGRAM_FILES%\DeviceApplication1\DeviceApplication1.exe'. Error 0x80070020: The process cannot access the file because it is being used by another process.
Device Connectivity Component

Any suggestions as to what might be wrong

Thanks,

Bakis.



Re: Smart Devices General R

Ilya Tumanov

That means your application is already running, so file is in use and can not be overwritten. To fix that please terminate the application via "Memory" applet or restart your device. Remember applications on Windows Mobile are minimized, not closed.

You might consider adding Exit button or menu to your application for your convenience.






Re: Smart Devices General R

Bakis

Please excuse the ignorance...

How can I see that it's it running

Also how would I implement your suggestions:

"terminate the application via "Memory" applet or restart your device."

Thanks.





Re: Smart Devices General R

Ilya Tumanov

Running applications are listed in the "Memory" applet which is located in "Settings" item on a start menu. It also allows you to terminate applications as need. Or you could install one of available task managers for Pocket PC.

To reset your device you could hit a "Reset" button. Usually it's a small hole with a button inside you could push with a tip of a stylus. Sometimes it's hard to find, in that case please refer to the device manual.






Re: Smart Devices General R

Bakis

Thanks!



Re: Smart Devices General R

madriceg

I reset the PDA but I still continue to get the same error. I also looked to see if it was in memory or somewhere on the PDA and it is not. I am trying to deploy to the emulator but I keep getting that error. Any suggestions