DLL Connection ?
Posted on 2001-07-17
Using D5, All update applied, ADO, SQL 2000.
I have an application with a very large complex report in a DLL. I open the dll and run the report just fine. Then close dll just fine. Show Main form and get an access violation.
I tried disconnecting the current ADO connection, then opening the DLL, run report, close dll, then open main connection again. No access violation.
I don't want to open the tables again. It is about a 10 - 15 second delay.
Is there a way that I can tell the DLL ado objects to use the ADOConnection of the main application?
I tried using a connection string int the DLL instead of an ADOConnection but got the access violoation.