CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2001
    Posts
    3

    Apartment model

    Can i open new Apartment for my objects in ActiveX Dll (VisualBasic)? Where objects, for example, PowerPoint application...

    Thanks
    Konstantin


  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Apartment model

    ActiveX dll can run in a different appartment (read as thread). The problem you have is that your client application makes a call to the dll and waits until the dll has completed execution. I don,t think there's a real workaround in vb to do this, but you can search the board for multithreading, if that is what you need.

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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

Featured