Call AssignConnection raise in different UniDAC Version

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
cxg417
Posts: 41
Joined: Thu 26 Mar 2009 08:07

Call AssignConnection raise in different UniDAC Version

Post by cxg417 » Mon 05 Dec 2011 11:17

MainExe use UniDAC 4.1,and Dll use UniDAC 3.6,Call 'AssignConnection' Raise "Access violation at address 40006E78 in module 'rtl70.bpl'. Read of address 000000F9."

AndreyZ

Post by AndreyZ » Tue 06 Dec 2011 07:54

Hello,

We can guarantee the correct work of the AssignConnect method only if both library and project are compiled with the same version of UniDAC. Please check if the problem persists if you are using UniDAC 4.1.3 for both your library and project.

cxg417
Posts: 41
Joined: Thu 26 Mar 2009 08:07

Post by cxg417 » Tue 06 Dec 2011 09:09

but MainExe use UniDAC 3.6,and Dll use UniDAC 3.0,Call 'AssignConnection' is correct

AndreyZ

Post by AndreyZ » Tue 06 Dec 2011 12:06

If there are not many changes in the TUniConnection component from one UniDAC version to another, the AssignConnect method can work correctly. But there are a lot of changes that we made between UniDAC 3.6 and 4.1. Please recompile your library and project with UniDAC 4.1.3. It will solve the problem with the AssignConnect method.

Post Reply