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-Wasm

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

Program.pas

namespace Sample;

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

type
  [Export]
  Program = public class
  public

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

  end;

end.