program Payload;
//{$APPTYPE CONSOLE}
//if you want to remove the console window you also have to remove all references to reading/writing to it, else you will get an exception.
uses
Windows;//, SysUtils;
begin
// try
MessageBox(0, 'Hello World', 'Payload', 0);
// except
// on E: Exception do
// Writeln(E.ClassName, ': ', E.Message);
// end;
end.