Click to See Complete Forum and Search --> : Apartment model


dok
August 13th, 2001, 01:31 PM
Can i open new Apartment for my objects in ActiveX Dll (VisualBasic)? Where objects, for example, PowerPoint application...

Thanks
Konstantin

Cakkie
August 14th, 2001, 01:13 AM
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
slisse@planetinternet.be

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