09-07-2020, 09:07 PM
As I can understand this is not an actual IW application but a unit test, correct?
You need to add
IWApplication,
IWServerInternalFiles,
to your project's uses clause. Also include
{$R IWData.res}
and try to rebuild it. IWData.res contain required resources. Make sure it is available to your application.
This the DPR file may look:
uses
SysUtils,
// your files here
IWApplication,
IWServerInternalFiles;
{R *.RES}
{$R IWData.res}
begin
System.ReportMemoryLeaksOnShutdown := True;
UnitTestRunner.RunRegisteredTests;
FreeAndNil(gSessions);
TIWServerInternalFiles.Finalize;
end.
You need to add
IWApplication,
IWServerInternalFiles,
to your project's uses clause. Also include
{$R IWData.res}
and try to rebuild it. IWData.res contain required resources. Make sure it is available to your application.
This the DPR file may look:
uses
SysUtils,
// your files here
IWApplication,
IWServerInternalFiles;
{R *.RES}
{$R IWData.res}
begin
System.ReportMemoryLeaksOnShutdown := True;
UnitTestRunner.RunRegisteredTests;
FreeAndNil(gSessions);
TIWServerInternalFiles.Finalize;
end.