Delphi7 created exe on intel galileo windows

257 views Asked by At

Installed Windows on my Galileo board and that works fine. I developed a small application i Delphi7 (32 bit exe) that I have deployed to the Galileo and configured it to start at boot by configuration in the autorun.cmd file.

start C:\applications\GalileoApp1.exe

The application is formless and contains a TCPserver that echoes back incoming data.

Works fine under windows 7 on my PC.

Does not start automatically or manually on my Galileo.

Has anyone tried something similar and succeeded in executing the application on Galileo?

Are there any limitations on what types of 32bit exe´s that can be executed on the Galileo?

1

There are 1 answers

2
Allen Bauer On

Stock Delphi RTL will not work on that version of Windows. The primary reason is that the Galileo versions of Windows' DLLs are different from the desktop version. This will require a rebuild of the RTL in order to import APis from their new locations. Some APis aren't even supported (such as most of the ones in GDI32 and USER32).

That being said, here at Embarcadero, as a research project I have a version of the Delphi RTL that does run on the Galileo board (I'm looking at the board right now :). I also have a stripped down Delphi conversion of some of the Wiring/Arduino Sketch API. When or even if we release such a thing is purely dependent upon the demand and our intended product direction.

The bottom line is that, yes, it is possible to get a Delphi-built command-line application (no visual VCL is supported, or anything that assumes the presence of a GUI). No, it's not a straight-forward, simple process as it requires some significant modifications to the RTL. I would also not recommend using Delphi 7, since the Galileo board doesn't support most of the Ansi versions of the Windows APIs. You will need a Unicode capable version of Delphi to start with.