Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 May : COM Object, abount instances

www.cryer.info
Managed Newsgroup Archive

COM Object, abount instances

Subject:COM Object, abount instances
Posted by:"Churc" (cebas..@gmail.com)
Date:28 May 2007 06:42:07

Hello again x)

After asking about how to make a plugin framework as i saw its
impossible to do a single DLL instance be shared with any process...

anyway i learn that i can use COM Object, Files, BD, etc...

But i was trying using COM Object, and is ocurring the same thing, the
dll is being shared with multiple handles...

And about that

{ Instancing mode for COM classes }

  TClassInstancing = (ciInternal, ciSingleInstance, ciMultiInstance);

{ Threading model supported by COM classes }

  TThreadingModel = (tmSingle, tmApartment, tmFree, tmBoth, tmNeutral);

Anyway, there is a way using COM Object to make a single DLL be shared
with the same handle to any process?

Because i want to do a plugin framework, and the single DLL control all
things, like plugins load, events, etc...

Thanks!
Best Regards
Carlos

--

Replies:

www.cryer.info
Managed Newsgroup Archive