as I wrote in the ticket #123785] i have serious and urgent problem with Delphi XE7 and unidac 6.0.2
when i close a connection and call a dll and open new connection when i come back to main program and try to open a connection i receive "connection shutdown" error.
this not happens with Delphi XE2 and unidac 4.2.7
Code: Select all
UniConnection1.Connected := false;
Hl := LoadLibrary('SdsNCa.dll');
if Hl <> 0 then begin
@CalCla := GetProcAddress(Hl, 'Classificazione');
if @CalCla <> nil then
resu := CalCla(ricMag, ricCod, NumeroCalcolo);
FreeLibrary(Hl)
end;
UniConnection1.Connected := true; <— here error connection shutdown
thanks