|
-
Sep 21st, 2000, 06:15 AM
#1
Thread Starter
New Member
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?
-
Sep 21st, 2000, 06:29 AM
#2
Fanatic Member
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
Crispin
VB6 ENT SP5
VB.NET
W2K ADV SVR SP3
WWW.BLOCKSOFT.CO.UK
[Microsoft Basic: 1976-2001, RIP]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|