Click here to Skip to main content
16,017,193 members
Home / Discussions / COM
   

COM

 
GeneralRe: About ISupporErrorInfo in Atl/com Pin
geo_m26-May-03 7:49
geo_m26-May-03 7:49 
GeneralClass to Variant Pin
makaveli1998200221-May-03 9:00
makaveli1998200221-May-03 9:00 
GeneralRe: Class to Variant Pin
AlexO21-May-03 10:16
AlexO21-May-03 10:16 
Generalpassing interfacepointers in dcom Pin
ELCH21-May-03 2:29
ELCH21-May-03 2:29 
GeneralRe: passing interfacepointers in dcom Pin
AlexO21-May-03 10:18
AlexO21-May-03 10:18 
GeneralRe: passing interfacepointers in dcom Pin
ELCH21-May-03 19:18
ELCH21-May-03 19:18 
GeneralRe: passing interfacepointers in dcom Pin
AlexO22-May-03 4:31
AlexO22-May-03 4:31 
GeneralRe: passing interfacepointers in dcom Pin
ELCH22-May-03 20:20
ELCH22-May-03 20:20 
Sorry, I didn't mentioned that if I try to execute the line:

hr = m_pIMachineConnectionPoint->GetMachineInterface("TESTMACHINE", &pUnk);

then an exception occures, and I get the error "Invalid acces to memory location" from e.ErrorMessage().

I think the has something to do with marshalling, because the interfacepointer stored in the list of the meetingpoint object, is marshalled to the machine on which the meetingpoint object is running. And I do not know if COM automatically remarshalls the pointer for the third machine??

-----------------
| |
| meetingpoint |
------------- | IpointerList | -------------
| |----------------------| |--------------------| |
| Machine 1 | ----------------- | Machine 2 |
| | | |
------------- -------------
Machine 1 and 2 are connecting to meetingpoint object and interfacepointers are stored in Ipointerlist.
Client:
m_pIMachineConnectionPoint->ConnectMachine(pUnk, m_MachineName.AllocSysString());

Then machine1 tries to get an interfacepointer from Ipointerlist of machine2, I'm not really sure if COM automatically remarshalls the interfacepointer to point directly to machine 2.Confused | :confused:

Thanks!

GeneralRe: passing interfacepointers in dcom Pin
AlexO23-May-03 4:54
AlexO23-May-03 4:54 
GeneralRe: passing interfacepointers in dcom Pin
Vi225-May-03 17:42
Vi225-May-03 17:42 
GeneralRe: passing interfacepointers in dcom Pin
John M. Drescher27-May-03 6:00
John M. Drescher27-May-03 6:00 
Generaladdin, that comments code Pin
schaereran@gmx.net20-May-03 22:10
schaereran@gmx.net20-May-03 22:10 
GeneralMIDL Compiler problem Pin
msh20-May-03 2:32
msh20-May-03 2:32 
GeneralRe: MIDL Compiler problem Pin
valikac20-May-03 8:48
valikac20-May-03 8:48 
GeneralRe: MIDL Compiler problem Pin
geo_m26-May-03 7:55
geo_m26-May-03 7:55 
GeneralRe: MIDL Compiler problem Pin
J. Dunlap26-May-03 8:32
J. Dunlap26-May-03 8:32 
QuestionError code 0x80010005 mean what and how to avoid it? Pin
i--19-May-03 22:07
i--19-May-03 22:07 
AnswerRe: Error code 0x80010005 mean what and how to avoid it? Pin
Anonymous27-May-03 22:19
Anonymous27-May-03 22:19 
Generalcreation of client of an EXE Com server . Pin
satishsilla19-May-03 18:14
satishsilla19-May-03 18:14 
GeneralRe: creation of client of an EXE Com server . Pin
valikac20-May-03 8:50
valikac20-May-03 8:50 
GeneralRe: creation of client of an EXE Com server . Pin
satishsilla21-May-03 23:34
satishsilla21-May-03 23:34 
GeneralProblems passing doubles in VB control to C++ Pin
mgreene16-May-03 2:43
mgreene16-May-03 2:43 
General[Message Deleted] Pin
imdx8016-May-03 0:43
imdx8016-May-03 0:43 
GeneralRe: Connection Points and [out] parameters Pin
geo_m26-May-03 7:41
geo_m26-May-03 7:41 
GeneralCOM Client problem Pin
YSRao14-May-03 1:15
YSRao14-May-03 1:15 

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.