Page 1 of 1

error connection shutdown

Posted: Tue 10 Feb 2015 14:04
by edoro
Hi

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
I have send you a small sample to demonstrate the issue but no news, is possible have a working UNIDAC why my customer ask me for new release using Delphi XE7

thanks

Re: error connection shutdown

Posted: Wed 11 Feb 2015 11:57
by ViktorV
We have reproduced and fixed the issue. The fix will be included in the next UniDAC build.