DA random Issue


My Delphi 10.4.1, DA:
Sometime when I quit the system , it popup this screen

any idea how to check?


What driver you are using? FireDAC ?
looks like you have {$DEFINE ENABLE_DIRECTMODE} in this driver and DirectMode=1 parameter in connection string.
try to disable this definition and remove DirectMode parameter.
this mode wasn’t tested with the latest delphi versions and may cause this error.

I did not change any setting and just default from installation{$DEFINE ENABLE_DIRECTMODE} seems disabled.

Sorry I mixup the version: it is, and delphi 10.3.3,( DA Server).
Connection string:Server=AnyDAC?AuxDriver=FB;Protocol=TCPIP;Characterset=utf8;

Client Application:
delphi 10.4.1, DA, the error is from client application when quit.

please advise.


try to update uDAMemDataTable.pas as

function TDAMemDataTable.QueryInterface(const IID: TGUID; out Obj): HResult;
    Result := inherited QueryInterface(IID, Obj);

and retest. will it solve this issue?