Click here to Skip to main content
15,919,434 members
Home / Discussions / COM
   

COM

 
GeneralRe: Interface Methods Pin
Milton Karimbekallil12-May-04 23:13
Milton Karimbekallil12-May-04 23:13 
GeneralRe: Interface Methods Pin
monrobot1313-May-04 11:02
monrobot1313-May-04 11:02 
GeneralMFC application to DCOM Pin
paulkned12-May-04 4:32
paulkned12-May-04 4:32 
Generaldifference between MIDL Compiler Versions 6.00.0361 and 5.01.0164 Pin
Tarundeep Singh Kalra10-May-04 20:04
Tarundeep Singh Kalra10-May-04 20:04 
Generalhelp Pin
Member 93959610-May-04 0:07
Member 93959610-May-04 0:07 
GeneralRe: help Pin
Tuwing.Sabado8-Jun-04 17:37
Tuwing.Sabado8-Jun-04 17:37 
GeneralCustom Interface in COM Exe Pin
shahzi9-May-04 23:05
shahzi9-May-04 23:05 
GeneralRe: Custom Interface in COM Exe Pin
Mike Dimmick10-May-04 2:04
Mike Dimmick10-May-04 2:04 
Have you built and registered your proxy/stub library?

If you're using an Automation-compliant interface (only using types defined for the VARIANT type) and the Automation marshaller, this step is not necessary as long as you have registered your type library.

When you make an out-of-process call, COM has to translate the call arguments from the source process to the destination process - this is called marshalling. This isn't necessary in-process as long as the components are loaded into the same apartment (if they load into different apartments or contexts, COM needs to marshal between them). The proxy/stub DLL contains two parts, a proxy and a stub. The proxy is loaded into the client's address space and impersonates the server for the client. The stub loads into the server's address space and impersonates the client for the server.

The Automation marshaller simplifies things a bit; it's able to generate a proxy and a stub from the type library.

Stability. What an interesting concept. -- Chris Maunder
GeneralBSTR Pin
monrobot139-May-04 13:48
monrobot139-May-04 13:48 
GeneralRe: BSTR Pin
Anonymous9-May-04 19:49
Anonymous9-May-04 19:49 
GeneralRe: BSTR Pin
monrobot1310-May-04 6:18
monrobot1310-May-04 6:18 
GeneralRe: BSTR Pin
Shaun Oldale11-May-04 2:55
Shaun Oldale11-May-04 2:55 
GeneralRe: BSTR Pin
monrobot1312-May-04 18:47
monrobot1312-May-04 18:47 
GeneralCOM+ Identity Pin
mtone7-May-04 7:46
mtone7-May-04 7:46 
GeneralRe: COM+ Identity Pin
Steve S7-May-04 8:29
Steve S7-May-04 8:29 
GeneralRe: COM+ Identity Pin
mtone7-May-04 9:08
mtone7-May-04 9:08 
GeneralRe: COM+ Identity Pin
Steve S9-May-04 21:30
Steve S9-May-04 21:30 
GeneralRe: COM+ Identity Pin
mtone10-May-04 2:32
mtone10-May-04 2:32 
GeneralRe: COM+ Identity Pin
Steve S10-May-04 4:13
Steve S10-May-04 4:13 
GeneralAsk for help Pin
Jim2004King7-May-04 4:35
Jim2004King7-May-04 4:35 
GeneralRe: Ask for help Pin
Lim Bio Liong8-May-04 0:08
Lim Bio Liong8-May-04 0:08 
GeneralRe: Ask for help Pin
Jim2004King8-May-04 2:08
Jim2004King8-May-04 2:08 
QuestionBug with Microsoft?? with HTMLObjectElementEvents?? Pin
JDasari5-May-04 12:41
JDasari5-May-04 12:41 
AnswerRe: Bug with Microsoft?? with HTMLObjectElementEvents?? Pin
Rob Manderson5-May-04 12:51
protectorRob Manderson5-May-04 12:51 
GeneralRe: Bug with Microsoft?? with HTMLObjectElementEvents?? Pin
JDasari7-May-04 8:31
JDasari7-May-04 8:31 

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.