Results 1 to 2 of 2

Thread: Detecting existing DLLs

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    1

    Question

    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?

  2. #2
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    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
  •  



Click Here to Expand Forum to Full Width