Deploying Midas.dll file

Sessions grid is connected to a memory dataset. For Windows applications TClientDataSet component is used as memory dataset. For Linux64 applications TFDMemTable component is used.

The TClientDataSet depends on external dependencies to work. If you have enabled the sessions options in the control panel you need to deploy file Midas.dll with your application. (Make sure you deploy the correct Midas.dll file which is compatible with your Delphi version)

1

Deploy Midas.dll

Deploy the Midas.dll file alongside your application so TClientDataSet can work properly on Windows. Ensure you deploy the Midas.dll that matches your Delphi version.

2

Instead of deploying Midas.dll, you can include the MidasLib unit in the uses section of your project. In this case you do not need to deploy Midas.dll.

Example project file:

program cpsessions;
program cpsessions;

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

For Linux64 applications you do not need to deploy an external file, because TFDMemTable does not rely on external dependencies.