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.

R
Simon
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.
Radhu
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.
Xa
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.
colossus2006
BethW