Search code examples
delphiembeddedwindows-celazaruswindows-xp-embedded

Porting Windows demo apps to WinCE/XP Embedded


We have a range of PC demonstration programs for our microcontroller products. The programs typically connect to a USB HID chip on the microcontroller board. The USB chip acts as a communications bridge, allowing the programs to communicate with the micros over SPI/I2C/UART. The programs can configure the micros, and get back status information to display to the user.

We are now looking to build some standalone demonstrations using single board PCs. We would like to reuse as much as possible of our existing demo app source code. Ideally, we could just run them as-is.

Does anybody have any advice on the best way forward? The basic options seem to be WinCE or XP Embedded boards. WinCE boards seem to pull less power, which would be an advantage from a battery life point of view.

Our existing demos are built either in C++ under Borland Builder, or in Delphi.

Thanks in advance.

EDIT: see my answer below with info from a board vendor.


Solution

  • There isn't a Delphi version for WinCE, so you would need to rewrite the applications. The same applies for the Borland Builder's control libraries. Only if you have used plain Win32 API, you would be able to port your application to WinCE easily. You may also encounter problems with the hardware access part. The Serial Port driver may not work as is. Also, you need to find a WinCE board that can act as USB host and provides HID drivers (this isn't very common).

    In conclusion, I believe that you would be better of with Windows XP Embedded boards. These should run your applications as they are.