Click here to Skip to main content
15,915,513 members
Home / Discussions / COM
   

COM

 
GeneralRe: COM+ architecture question Pin
AboMalek10-Dec-02 3:34
AboMalek10-Dec-02 3:34 
QuestionHow to implement a schedule in VC++ Pin
Anonymous29-Nov-02 21:45
Anonymous29-Nov-02 21:45 
AnswerRe: How to implement a schedule in VC++ Pin
Jörgen Sigvardsson30-Nov-02 13:49
Jörgen Sigvardsson30-Nov-02 13:49 
GeneralLinking Pin
Anthony988728-Nov-02 11:04
Anthony988728-Nov-02 11:04 
GeneralDLL or COM component to attach template to word document Pin
Jude27-Nov-02 17:49
Jude27-Nov-02 17:49 
GeneralRegistering IE toolbar Pin
Dermidont27-Nov-02 11:51
Dermidont27-Nov-02 11:51 
GeneralRe: Registering IE toolbar Pin
xxhimanshu8-Dec-02 17:52
xxhimanshu8-Dec-02 17:52 
GeneralThreading Models and Monikers Pin
Heath Stewart27-Nov-02 2:20
protectorHeath Stewart27-Nov-02 2:20 
I've been working with COM for many years now but never really had much need
for any threading models except MTA's. Now I'm working on a project where it
does matter and, after reading some articles and docs in MSDN, have a few
questions:

Basically, I'm writing this BHO that gets initialized with every instance of
Internet Explorer. I use CreateFileMoniker to get an IMoniker for the config
file then use IMoniker::BindToObject to bind it to a configuration object. I
would like each instance of my BHO to call a single instance of this
configuration file. Would the STA threading model help me acheive this
singleton approach?

Also, if this instance approach is possible, does each instance of the BHO
(say, in FinalConstruct()) need to go through the whole Moniker bit, or does
only the first instance of the BHO? I'm also a little new on monikers (I've
used them a little before and understand all the docs well-enough), so I'm
not exactly sure about using monikers within multiple threads (the ROT is
only supposed to hold one instance of the moniker no matter how many times I
use CreateXXXXMoniker, right?).

PS: I've been looking for some decent online examples (including in the MSDN
library) to fill-in the gaps (so to speak) dealing with monikers and
threading but have found none. Anyone know of any URL's?

TIA

"Well, I wouldn't say I've been missing it, Bob." - Peter Gibbons
GeneralRe: Threading Models and Monikers Pin
Vi229-Nov-02 6:05
Vi229-Nov-02 6:05 
GeneralRe: Threading Models and Monikers Pin
Heath Stewart1-Dec-02 19:32
protectorHeath Stewart1-Dec-02 19:32 
QuestionWhy DllGetClassObject get the class factory instead of iunknown? Pin
doromoji25-Nov-02 20:47
sussdoromoji25-Nov-02 20:47 
AnswerRe: Why DllGetClassObject get the class factory instead of iunknown? Pin
Stephane Rodriguez.25-Nov-02 20:55
Stephane Rodriguez.25-Nov-02 20:55 
GeneralRe: Why DllGetClassObject get the class factory instead of iunknown? Pin
doromoji25-Nov-02 22:25
sussdoromoji25-Nov-02 22:25 
GeneralRe: Why DllGetClassObject get the class factory instead of iunknown? Pin
Stephane Rodriguez.25-Nov-02 22:34
Stephane Rodriguez.25-Nov-02 22:34 
GeneralRe: Why DllGetClassObject get the class factory instead of iunknown? Pin
Vi225-Nov-02 23:00
Vi225-Nov-02 23:00 
GeneralRe: Why DllGetClassObject get the class factory instead of iunknown? Pin
doromoji25-Nov-02 23:46
sussdoromoji25-Nov-02 23:46 
QuestionCan I write the an ODL script that can be compiled with MIDL Pin
SPGV24-Nov-02 21:48
SPGV24-Nov-02 21:48 
GeneralCOM Object Pin
Anthony988722-Nov-02 8:09
Anthony988722-Nov-02 8:09 
GeneralRe: COM Object Pin
geo_m29-Nov-02 22:30
geo_m29-Nov-02 22:30 
QuestionExcel grids? Pin
-Dy22-Nov-02 4:04
-Dy22-Nov-02 4:04 
AnswerRe: Excel grids? Pin
Steve S28-Nov-02 21:33
Steve S28-Nov-02 21:33 
QuestionOCX controls in a container - instantiation mechanism? Pin
Debs20-Nov-02 23:58
Debs20-Nov-02 23:58 
AnswerRe: OCX controls in a container - instantiation mechanism? Pin
Anonymous21-Nov-02 10:40
Anonymous21-Nov-02 10:40 
GeneralMS Project SDK Pin
Abubakar Siddque20-Nov-02 23:15
Abubakar Siddque20-Nov-02 23:15 
GeneralRe: MS Project SDK Pin
Christian Graus21-Nov-02 20:36
protectorChristian Graus21-Nov-02 20:36 

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.