When i change application type from standalone to Isapi module
i get this exception:
An Exception has occured in application:
Failed to delete tab at index 0
standalone app works.
here is dpr:
//{$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module
{$ifndef UNIGUI_VCL}
library
{$else}
program
{$endif}
myApp;
uses
uniGUIISAPI,
Forms,
ServerModule in 'ServerModule.pas' {UniServerModule: TUniGUIServerModule},
MainModule in 'MainModule.pas' {UniMainModule: TUniGUIMainModule},
Main in 'Main.pas' {MainForm: TUniForm}
// here goes my others units
;
{$R *.res}
{$ifndef UNIGUI_VCL}
exports
GetExtensionVersion,
HttpExtensionProc,
TerminateExtension;
{$endif}
begin
{$ifdef UNIGUI_VCL}
ReportMemoryLeaksOnShutdown := True;
Application.Initialize;
TUniServerModule.Create(Application);
Application.Run;
{$endif}
end.