UniDAC MS SQL Server disconnection problem

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Yuriy_
Posts: 4
Joined: Tue 27 Aug 2013 09:40

UniDAC MS SQL Server disconnection problem

Post by Yuriy_ » Tue 27 Aug 2013 10:42

Hello.

Recently I started to use UniDAC components in Delphi 2010 IDE to develop database applications
for video surveillance systems. I wrote a small multithreaded application for connection to
database and reading data. Each UniConnection has it's own thread in which it connects
to database and UniQuery retrieves data. I noticed, that if I establish a connection to
Microsoft SQL Server (or to MS SQL Server Express) while connection not established I cant
disconnect it and free TUniConnection and thread.

How can I disconnect and free a TUniConnection "instantly" and my connection thread while connection to Microsoft SQL Server is in process?

Decreasing a connection timeout doesnt help.

Thanks.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: UniDAC MS SQL Server disconnection problem

Post by AlexP » Fri 30 Aug 2013 12:13

hello,

Please don't create similar topics, I have answered you in http://forums.devart.com/viewtopic.php?t=27814

Post Reply