Standalone Server Project

A Standalone Serverarrow-up-right project is the simplest type of uniGUI project. It creates an application which runs similar to a desktop application, i.e. the application is started and terminated by the user. This type of application is best used for debugging purposes. Below are sample project files for a typical newly created Standalone Server project. Also see Deployment Optionsarrow-up-right.

Project1.dpr
program Project1;

uses
  Forms,
  ServerModule in 'ServerModule.pas' {UniServerModule: TUniGUIServerModule},
  MainModule in 'MainModule.pas' {UniMainModule: TUniGUIMainModule},
  Main in 'Main.pas' {MainForm: TUniForm};

{$R \*.res}

begin
  Application.Initialize;
  TUniServerModule.Create(Application);
  Application.Run;
end.

See also: Standalone Server (Console Application)