Click here to Skip to main content
15,909,939 members
Home / Discussions / COM
   

COM

 
GeneralRe: prb:createobject Pin
AlexO3-Feb-03 5:14
AlexO3-Feb-03 5:14 
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 
I've a in-proc COM DLL that spawns a new thread which initializes as MTA. The COM objects created by this DLL are marked as ThreadingModel = Both. The COM object is intended to be consumed by VB apps & uses GIT to notify the clients of interesting events using the connection points.

The problem is that the performance is noticeably slower. If i rebuild the COM object as STA & don't spawn a new thread, the performance gets better. Infact, with a second thread & ThreadingModel = Free seems to outperform the ThreadingModel = Both though i can't really explain why this is so.

One of the main reasons for the second thread is to free up the main thread to handle the UI tasks (responsiveness) while the second thread handles all the grunt work behind the scenes & notifies only when something interesting happens.

While investigating this, came across the CoCreateFreeThreadedMarshaler & wondering if this would help. Does anyone have any experience with this? How do you go about debugging something like this? any pointers would help.

Thanks



Chen Venkataraman
GeneralRe: CoCreateFreeThreadedMarshaler question Pin
geo_m14-Feb-03 2:56
geo_m14-Feb-03 2:56 
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 

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.