Application auto launch

Post Reply
cyberscan
Posts: 10
Joined: Tue Aug 25, 2009 1:30 pm

Application auto launch

Post by cyberscan » Fri Sep 11, 2009 9:48 am

How can an application automatically launch upon power on?

nicolas
Posts: 162
Joined: Sun Jun 07, 2009 4:32 pm

Re: Application auto launch

Post by nicolas » Fri Sep 11, 2009 10:01 am

Put a shortcut in the Startup folder. (Like in desktop variants of windows)
Or
Make use of the [HKEY_LOCAL_MACHINE\init] registry key

cyberscan
Posts: 10
Joined: Tue Aug 25, 2009 1:30 pm

Re: Application auto launch

Post by cyberscan » Thu Sep 17, 2009 9:48 am

Thanks. One of the problems I'm having is that my app is running out of folder /Program Files. The contents do not persist on power off and on for this S3C2440 board. Any solution?

nicolas
Posts: 162
Joined: Sun Jun 07, 2009 4:32 pm

Re: Application auto launch

Post by nicolas » Thu Sep 17, 2009 11:13 am

That is because the filesystem is non-persisting. There is a way to have WinCE write back the changes to the flash storage image - but I have not been able to figure it out. (This would actually be setup when creating the WinCE image itself).

Two options:
A) Use an SD card

B) Use the persistent storage "drive" on the unit. It is at the root, called ResidentFlash

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests