Persist Data On CUWIN5500

You have developed an application for the CUWIN5500 and installed the application in a directory within the Root – For example: “\Program Files\MyApp”. However, your directory (i.e. “…\MyApp” and all of its contents goes away every time you boot the device.

How do you get the data to persist?

On the CUWIN, there are two ways to persist data –

  1. Adding information to the Registry and then saving the Registry via the “SaveRegs” application (located at “\Windows\SaveRegs”)
  2. Saving the data to the “\Flash Disk” (or any external media such as the SD card). When saving data to the Flash Disk, the CUWIN automatically persists that data.

At the time of this writing, I don’t know how to persist the data via the Registry method. I will update this post if I ever get around to it. The fact of the matter is, in my case, saving my data to the Flash Disk (and SD card) is all I need so I really have no motivation to learn the Registry method.

AutoRun Application on CUWIN5500 Windows CE Device

You built an application (.exe) for a CUWIN5500 and now you want the application to start automatically after the device boots up.

  1. On the CUWIN, go to “\Flash Disk” and then create a folder named “AutoRun”
  2. Move your application (.exe) to the AutoRun directory
  3. Turn on the CUWIN dip switch #2 (Dip switches #1 and #2 should be ON and all dip switches set to OFF)
  4. Reboot the CUWIN device
  5. Your application should automatically run