Results 1 to 6 of 6

Thread: [RESOLVED] Urgent!!deploy application to PDA systemCF

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    125

    Resolved [RESOLVED] Urgent!!deploy application to PDA systemCF

    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.
    Last edited by scotish_bagpipe; Nov 5th, 2007 at 08:30 AM.

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Urgent!!deploy application to PDA systemCF

    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?
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    125

    Re: Urgent!!deploy application to PDA systemCF

    Quote Originally Posted by petevick
    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.

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Urgent!!deploy application to PDA systemCF

    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.
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    125

    Re: Urgent!!deploy application to PDA systemCF

    Quote Originally Posted by petevick
    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?

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    125

    Resolved Re: Urgent!!deploy application to PDA systemCF

    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width