Elements. Build native projects for any modern development platform, using the language(s) of your choice. Oxygene (Object Pascal), C#, Swift, Java, Go. | RemObjects Software

Sample-Windows

Language: Oxygene, Platform: Island, Category: Delphi VCL
https://github.com/remobjects/ElementsSamples/tree/master/Oxygene/Island/Delphi VCL/Sample-Windows

Program.pas

namespace Sample;

uses
  RemObjects.Elements.RTL.Delphi, 
  RemObjects.Elements.RTL.Delphi.VCL;

type
  {$IF WEBASSEMBLY}[Export]{$ENDIF}
  Program = public class
  public

    method Main; static;
    begin
      Application := new TApplication(nil);
      Application.Initialize;
      Application.CreateForm(typeOf(TForm2), var Form2);
      Application.Run;
    end;

  end;

end.