Click to See Complete Forum and Search --> : Active X Dll


rav
December 10th, 1999, 12:56 PM
we have an Active X Dll which has a class file and it is for connecting to the Database . We have a client prog whihc connects to this dll and it sets the connect string using a method and then connects to the databse using another Method.
But we are able set the string but when the control returns to the client the class object gets terminated .

We have MTS 2.0 and vb6.

Do let me know any suggestions .

thanks
ravi

Weasel
February 9th, 2000, 07:21 AM
Are you sure you're accessing an existing object and that the call isn't creating a new object on the fly, modifying it, and then deleting the new modified version from memory? We had this problem connecting an ActiveX control to a DLL.