Click to See Complete Forum and Search --> : [RESOLVED] Urgent!!deploy application to PDA systemCF
scotish_bagpipe
Nov 3rd, 2007, 07:29 AM
Hi guys,
does anybody know how to deploy the application in the systemCF folder?
I can't find any way to deploy my application to permenent drive. because every time when i reboot the PDA, it will get rid of all things except SystemCF stuff. :(
petevick
Nov 3rd, 2007, 10:03 AM
What version of the OS are you running? Prior to WM5, a HARD reset will wipe out the memory.
Are you doing a hard or soft reset?
scotish_bagpipe
Nov 4th, 2007, 07:08 AM
What version of the OS are you running? Prior to WM5, a HARD reset will wipe out the memory.
Are you doing a hard or soft reset?
hi pete,
PDA operation system version is windows CE 5.0。。normally if you change the battery or press and hold the power button on keypad for 10 seconds, then PDA will be rebooted. The problem i have at moment is i guess when we deploy the application into PDA, i think it also write some other information into other place like PDA's registry. (I deployed my application into the program files folder., if i cut or copy and paste it into systemCF(which is the permanent drive) and run it, it still works fine. but if i hard reboot the machine(like take the battery out and put it back again and restart the PDA), my program still exists in systemCF folder, but it won't run it properly. so that's why i want to know if there are some ways to derectly deploy my program into the systemCF folder.
petevick
Nov 5th, 2007, 01:11 AM
Hi,
a soft reset shouldn't cause you any problems - a hard reset will do. Are you saying a soft reset is causing you problems? Taking the battery out shouldn't cause a hard reset, nor should 'rebooting' the PPC.
After a hard reset, even if you put your program in permanent store, there is still .NET CF files and possibly SqlServer files to worry about.
scotish_bagpipe
Nov 5th, 2007, 03:44 AM
Hi,
a soft reset shouldn't cause you any problems - a hard reset will do. Are you saying a soft reset is causing you problems? Taking the battery out shouldn't cause a hard reset, nor should 'rebooting' the PPC.
After a hard reset, even if you put your program in permanent store, there is still .NET CF files and possibly SqlServer files to worry about.
what i was talking about is if you take out the battery and put back in again, the PDA will restart(like we start our computer). every time if you restart the PDA it will clear all the files which are not belongs to systemCF. so what i am doing is copy the deployed application from 'program files' folder into 'systemCF' folder and restart the PDA. But for some reason, i can't get my application work properly( the task list is not appeared on the screen). so maybe could you tell me what does the deploy do when you deploy the application into the PDA, is it write some other information to some other place in the PDA?
scotish_bagpipe
Nov 5th, 2007, 07:29 AM
Hi pete..
the problem is solved now, actually, i build a cab file and install into PDA, at begining , its not work. but i check the error log it said "Can't find PInvoke DLL 'dbnetlib.dll'.",, so i copy this dll file from my local machine into PDA and it works!!.. i think the compact framework is quite stupid when you deploy your application it also deploy the cab file "armv4i" from path: "C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Client\v2.0\wce500\armv4i". but if you restart the PDA, system will get ride of armv4i cab file . so that why i can't get my application work properly.
thanks!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.