-
I currently have a situation where I invoke a DLL, let's call it DES. This invokes DES2 which creates an object, let's call it REF, which is my way in to the data base.
I can now instantiate another DES, but it doesn't make sense
to instantiate another DES2, so I want to be able to detect the already existing DES2 and therefore have a handle to REF. So I might have the following situation.....
Many DES instances, accessing a single DES2 (that was created by the first DES), which then uses REF to access the DB.
How can I get the handle of DES2 from my second instantiation of a DES DLL?
-
Read the Article "Apartment model threading in Visual Basic" that came with MSDN, I think that might shed some light on the subject. ;)
if you can't find it mail me and i'll send it to you