Click here to Skip to main content
15,892,005 members
Home / Discussions / COM
   

COM

 
QuestionHow do I end an ATL EXE srvr when client abnormally terminates Pin
nebbish31-Jan-03 12:08
nebbish31-Jan-03 12:08 
AnswerRe: How do I end an ATL EXE srvr when client abnormally terminates Pin
AlexO3-Feb-03 5:25
AlexO3-Feb-03 5:25 
GeneralUsing Com in MTS Pin
AnirbanMondal31-Jan-03 0:44
AnirbanMondal31-Jan-03 0:44 
GeneralRe: Using Com in MTS Pin
pushpi1-Feb-03 0:51
pushpi1-Feb-03 0:51 
GeneralLooking for ActiveX menu control Pin
Bruce Crosby30-Jan-03 10:07
Bruce Crosby30-Jan-03 10:07 
GeneralDCOM Server - Event notification to client when client system is removed from network Pin
ganipineni27-Jan-03 20:00
ganipineni27-Jan-03 20:00 
GeneralCoCreateFreeThreadedMarshaler question Pin
Chen Venkataraman27-Jan-03 7:26
Chen Venkataraman27-Jan-03 7:26 
GeneralRe: CoCreateFreeThreadedMarshaler question Pin
geo_m14-Feb-03 2:56
geo_m14-Feb-03 2:56 
Difficult to say in general way - what I would check is the fact, that the current instance of your object (marked as the Both) was created from VB app - therefore it is in Apartment mode. This can be reason, why all calls from your thread to your object will be also proxied through marshalling.
If I looked into the documentation for both & Free Threaded Marshaller I found:
For example, an STA model client creates the in-proc object in STA1 and marshals the object to STA2. If the object does not aggregate with the free-threaded marshaler, STA2 gains access to the object through a proxy. If it does, the free-threaded marshaler provides STA2 with a direct pointer to the object
This can explain why your code is slower when using the both model. I think in this case the FTM can help. How to integrate it, it's best to create new dummy component and say wizard about support for FTM (it involves FinalCreate, FinalRelease and COM_MAP...).
What the FTM does is pretty simple (plusminus). It exposes from your object IMarshall interface, which signals to the COM, that your object supports custom marshalling. Then the FTM handles marshalling request in a different way from standard. Using some simplifications it switch off the marshalling for that object.
GeneralReading Registry name-PLS HELP ME Pin
vcarivu25-Jan-03 2:20
vcarivu25-Jan-03 2:20 
GeneralOnce again Asking-HELP ME PLS Pin
vcarivu26-Jan-03 19:00
vcarivu26-Jan-03 19:00 
GeneralRe: Mourning COMs death... Pin
Heath Stewart25-Jan-03 22:35
protectorHeath Stewart25-Jan-03 22:35 
GeneralRe: Mourning COMs death... Pin
pushpi1-Feb-03 0:57
pushpi1-Feb-03 0:57 
GeneralRe: Mourning COMs death... Pin
peterchen10-Feb-03 21:53
peterchen10-Feb-03 21:53 
GeneralWhy IE runs in explorer.exe process sometimes?! Pin
Tommy Svensson23-Jan-03 5:02
Tommy Svensson23-Jan-03 5:02 
GeneralRe: Why IE runs in explorer.exe process sometimes?! Pin
Heath Stewart23-Jan-03 18:28
protectorHeath Stewart23-Jan-03 18:28 
QuestionWhy MS Word Automation is so slow? Pin
mandelbrot22-Jan-03 11:51
mandelbrot22-Jan-03 11:51 
AnswerRe: Why MS Word Automation is so slow? Pin
bryce22-Jan-03 11:57
bryce22-Jan-03 11:57 
AnswerRe: Why MS Word Automation is so slow? Pin
Stephane Rodriguez.22-Jan-03 21:03
Stephane Rodriguez.22-Jan-03 21:03 
AnswerRe: Why MS Word Automation is so slow? Pin
Renjith Ramachandran23-Jan-03 4:55
Renjith Ramachandran23-Jan-03 4:55 
GeneralIStorage, IStream, IHateCOM Pin
Chris Losinger21-Jan-03 20:04
professionalChris Losinger21-Jan-03 20:04 
GeneralRe: IStorage, IStream, IHateCOM Pin
Michael Dunn21-Jan-03 20:14
sitebuilderMichael Dunn21-Jan-03 20:14 
GeneralRe: IStorage, IStream, IHateCOM Pin
Chris Losinger21-Jan-03 21:19
professionalChris Losinger21-Jan-03 21:19 
GeneralRe: IStorage, IStream, IHateCOM Pin
Stephane Rodriguez.22-Jan-03 19:17
Stephane Rodriguez.22-Jan-03 19:17 
GeneralRe: IStorage, IStream, IHateCOM Pin
Chris Losinger22-Jan-03 19:23
professionalChris Losinger22-Jan-03 19:23 
GeneralRe: IStorage, IStream, IHateCOM Pin
peterchen22-Jan-03 9:39
peterchen22-Jan-03 9:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.