Click here to Skip to main content
16,005,552 members
Home / Discussions / COM
   

COM

 
GeneralAccessing Outlook Pin
Madmaximus9-Jun-03 6:49
Madmaximus9-Jun-03 6:49 
QuestionAccessing constants via vb-script ? Pin
Brian van der Beek5-Jun-03 22:51
Brian van der Beek5-Jun-03 22:51 
AnswerRe: Accessing constants via vb-script ? Pin
Hans Ruck6-Jun-03 4:11
Hans Ruck6-Jun-03 4:11 
GeneralRe: Accessing constants via vb-script ? Pin
Anonymous6-Jun-03 4:24
Anonymous6-Jun-03 4:24 
GeneralRe: Accessing constants via vb-script ? Pin
Hans Ruck6-Jun-03 4:38
Hans Ruck6-Jun-03 4:38 
GeneralMarshalling Pin
act_x5-Jun-03 9:40
act_x5-Jun-03 9:40 
GeneralRe: Marshalling Pin
geo_m5-Jun-03 22:38
geo_m5-Jun-03 22:38 
GeneralRe: Marshalling Pin
act_x6-Jun-03 8:20
act_x6-Jun-03 8:20 
Thanks for the info . Very useful.

I am developing a COM Server(COM A) that has numerous classes within
and also interacts with another COM Server(COM B) housed within this
Server .

I was able to use the MultiMedia timer in a class of COM A fine but have trouble when i try to accessCOM B related pointers from the TimerCallBack which normally I was able to access within COM A.

That is the point where Marshalling comes in .

I read about the functions and have certain questions .


1. Where should I do Marshalling .
there is a class(CBridge) in A that exposes COM B component. Can I
perform the call to CoMarshallInterface when CBridge comes up .

2. Do I have to write something into the IStream while Marshalling .This question is governed by what I need in the TimerCallback func . I
need to successfully be able to call COM B pointer from within COM A .

I created a Stream using
CreateStreamOnHGlobal(NULL, TRUE, &_pStream);

Do I have to do a Write on this Stream



3. I assume I have to UnMarshall in my timerCallback func . I have the
stream available , the RIID , I am unclear about the 3rd Parameter .

4. Finally after UnMarshalling how would I use COM B pointer from within
the TimerCallback !
GeneralRe: Marshalling Pin
geo_m6-Jun-03 21:53
geo_m6-Jun-03 21:53 
GeneralRe: Marshalling Pin
Hans Ruck6-Jun-03 2:09
Hans Ruck6-Jun-03 2:09 
GeneralGetting the width of a webbrowser frame Pin
John Oliver4-Jun-03 21:59
John Oliver4-Jun-03 21:59 
GeneralRe: Getting the width of a webbrowser frame Pin
John Oliver4-Jun-03 23:00
John Oliver4-Jun-03 23:00 
Questionhow to resolve this? Pin
safee ullah4-Jun-03 1:36
safee ullah4-Jun-03 1:36 
AnswerRe: how to resolve this? Pin
Anonymous4-Jun-03 4:39
Anonymous4-Jun-03 4:39 
GeneralRe: how to resolve this? Pin
safee ullah4-Jun-03 20:12
safee ullah4-Jun-03 20:12 
GeneralRe: how to resolve this? Pin
Anonymous5-Jun-03 0:16
Anonymous5-Jun-03 0:16 
GeneralRe: how to resolve this? Pin
safee ullah5-Jun-03 1:29
safee ullah5-Jun-03 1:29 
Generaldispinterface question Pin
Brian van der Beek3-Jun-03 21:40
Brian van der Beek3-Jun-03 21:40 
GeneralRe: dispinterface question Pin
pba_4-Jun-03 7:15
pba_4-Jun-03 7:15 
GeneralRe: dispinterface question Pin
Vi25-Jun-03 1:39
Vi25-Jun-03 1:39 
GeneralRe: dispinterface question Pin
Brian van der Beek5-Jun-03 2:07
Brian van der Beek5-Jun-03 2:07 
GeneralCOM+ Queued Components not working Pin
cfoley3-Jun-03 0:16
cfoley3-Jun-03 0:16 
GeneralIDataObject with delayed rendering Pin
jiang-lei2-Jun-03 22:44
jiang-lei2-Jun-03 22:44 
QuestionBuilding COM object for folder protection?? Pin
Lalit S. Rana2-Jun-03 19:49
Lalit S. Rana2-Jun-03 19:49 
AnswerRe: Building COM object for folder protection?? Pin
Anonymous3-Jun-03 10:16
Anonymous3-Jun-03 10:16 

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.