程式語言 - Delphi 7 - Visual Component Library (VCL) - Hello, world!



main.dpr

program app;
uses
    Forms;

begin
    Application.Initialize;
    Application.MessageBox('Hello, world!', 'main');
end.

編譯、執行

$ export WINEPREFIX=/home/user/.wine_x86

$ box86 wine dcc32 main.dpr
$ box86 wine main.exe

完成