Page 1 of 1

Call AssignConnection raise in different UniDAC Version

Posted: Mon 05 Dec 2011 11:17
by cxg417
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."

Posted: Tue 06 Dec 2011 07:54
by AndreyZ
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.

Posted: Tue 06 Dec 2011 09:09
by cxg417
but MainExe use UniDAC 3.6,and Dll use UniDAC 3.0,Call 'AssignConnection' is correct

Posted: Tue 06 Dec 2011 12:06
by AndreyZ
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.