dbaccess.pas assertion on 6685
Posted: Mon 16 Mar 2015 15:06
Hello,
I have problem with assertion in DBAccess.pas, line 6685.
After migration of code from Delphi2009 (with ODAC 6.70) to Delphi XE7 (ODAC 9.4.14), I have encountered above assertion while invoking query in a DLL.
In fact, EXE file loads first dll where connection is established - it works correctly. Next, "first dll" loads "second DLL" and passes TOraSession object (not directly, it is part of "bigger" object). While opening query in this "second DLL" above assertion is raised.
In DBMonitor invoked query is visible (state "Pending") but is "orphaned" - query object is not a child of main session object.
In original code (Delphi2009) function "AssignConnect" was not used, as it is shown in "Demos\Miscellaneous\Dll".
Please provide me more information about assertion made in DBAccess.pas, line 6685.
Environment: Windows 7 64-bit, Delphi XE7 Upd1, ODAC 9.4.14, Oracle 11.2.
I have problem with assertion in DBAccess.pas, line 6685.
After migration of code from Delphi2009 (with ODAC 6.70) to Delphi XE7 (ODAC 9.4.14), I have encountered above assertion while invoking query in a DLL.
In fact, EXE file loads first dll where connection is established - it works correctly. Next, "first dll" loads "second DLL" and passes TOraSession object (not directly, it is part of "bigger" object). While opening query in this "second DLL" above assertion is raised.
In DBMonitor invoked query is visible (state "Pending") but is "orphaned" - query object is not a child of main session object.
In original code (Delphi2009) function "AssignConnect" was not used, as it is shown in "Demos\Miscellaneous\Dll".
Please provide me more information about assertion made in DBAccess.pas, line 6685.
Environment: Windows 7 64-bit, Delphi XE7 Upd1, ODAC 9.4.14, Oracle 11.2.