error connection shutdown

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
edoro
Posts: 1
Joined: Tue 10 Feb 2015 13:51

error connection shutdown

Post by edoro » Tue 10 Feb 2015 14:04

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: error connection shutdown

Post by ViktorV » Wed 11 Feb 2015 11:57

We have reproduced and fixed the issue. The fix will be included in the next UniDAC build.

Post Reply