namespace hello; interface uses org.eclipse.swt.internal.win32.*; type Hello = class public class method Main(args: array of String); end; implementation class method Hello.Main(args: array of String); var lpText: TCHAR; lpCaption: TCHAR; begin lpText := new TCHAR(0, "Hello, Win32 API World!", True); lpCaption := new TCHAR(0, "Hello, World", True); OS.MessageBox(0, lpText, lpCaption, OS.MB_OK ); end; end.