Click here to Skip to main content
15,890,438 members
Home / Discussions / COM
   

COM

 
QuestionInvalid Procedure call or argument in VB Client ? Pin
viral_umang@hotmail.com12-May-07 1:50
viral_umang@hotmail.com12-May-07 1:50 
AnswerRe: Invalid Procedure call or argument in VB Client ? Pin
Lim Bio Liong13-May-07 19:45
Lim Bio Liong13-May-07 19:45 
GeneralRe: Invalid Procedure call or argument in VB Client ? Pin
viral_umang@hotmail.com14-May-07 1:02
viral_umang@hotmail.com14-May-07 1:02 
GeneralRe: Invalid Procedure call or argument in VB Client ? Pin
Lim Bio Liong14-May-07 2:21
Lim Bio Liong14-May-07 2:21 
QuestionQuery Interface from Another Interface of Same Com Server Pin
georgekjolly11-May-07 4:47
georgekjolly11-May-07 4:47 
AnswerRe: Query Interface from Another Interface of Same Com Server Pin
Roger Stoltz11-May-07 5:08
Roger Stoltz11-May-07 5:08 
GeneralRe: Query Interface from Another Interface of Same Com Server Pin
georgekjolly11-May-07 5:21
georgekjolly11-May-07 5:21 
GeneralRe: Query Interface from Another Interface of Same Com Server Pin
Roger Stoltz11-May-07 9:37
Roger Stoltz11-May-07 9:37 
georgekjolly wrote:
Is all COM communications(between COM Server and Client) happening through RPC


No.
The most common way is to create an in-process-server running in the same thread, i.e. a single threaded apartment (STA). In this case every call to the server is exactly like an ordinary function call.
Remote Procedure Call (RPC) will be used when you're marshalling interfaces between multiple threads.

To get a deeper understanding of marshalling and RPC I suggest you read Lim Bio Liong's excellent article serie starting here[^].


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

GeneralRe: Query Interface from Another Interface of Same Com Server Pin
georgekjolly11-May-07 18:35
georgekjolly11-May-07 18:35 
QuestionWindows services Pin
tantoun11-May-07 4:17
tantoun11-May-07 4:17 
Questionhow to show select file and directory dialog in c&api program Pin
zhongwenjia11-May-07 3:57
zhongwenjia11-May-07 3:57 
QuestionDOS/16M: [2] not a DOS/16M executable Pin
TooLeeDiN10-May-07 22:11
TooLeeDiN10-May-07 22:11 
AnswerWrong forum? Pin
CPallini11-May-07 0:49
mveCPallini11-May-07 0:49 
QuestionHow to pass an array to a COM method accept a VARIANT * Pin
songll10-May-07 8:27
songll10-May-07 8:27 
AnswerRe: How to pass an array to a COM method accept a VARIANT * Pin
prasad_som11-May-07 4:11
prasad_som11-May-07 4:11 
QuestionHuman Readable HRESULTs Pin
Phil Harding10-May-07 0:53
Phil Harding10-May-07 0:53 
AnswerRe: Human Readable HRESULTs Pin
Mike Dimmick10-May-07 1:47
Mike Dimmick10-May-07 1:47 
AnswerRe: Human Readable HRESULTs Pin
Roger Stoltz10-May-07 1:56
Roger Stoltz10-May-07 1:56 
AnswerRe: Human Readable HRESULTs Pin
User 21559710-May-07 2:42
User 21559710-May-07 2:42 
Questionextern c Pin
Vinod CS9-May-07 19:10
Vinod CS9-May-07 19:10 
AnswerRe: extern c Pin
CPallini9-May-07 23:01
mveCPallini9-May-07 23:01 
GeneralRe: extern c Pin
Vinod CS9-May-07 23:06
Vinod CS9-May-07 23:06 
GeneralRe: extern c Pin
CPallini9-May-07 23:17
mveCPallini9-May-07 23:17 
GeneralInstalling an ActiveX control via web page Pin
Judah Gabriel Himango8-May-07 16:30
sponsorJudah Gabriel Himango8-May-07 16:30 
QuestionHow to port C++ dll in Linux to Windows? Pin
dipuks8-May-07 16:23
dipuks8-May-07 16: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.