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

COM

 
QuestionProblem: GetRecordInfoFromGuids Pin
viral_umang@hotmail.com14-May-07 1:55
viral_umang@hotmail.com14-May-07 1:55 
AnswerRe: Problem: GetRecordInfoFromGuids Pin
viral_umang@hotmail.com14-May-07 19:18
viral_umang@hotmail.com14-May-07 19:18 
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 
Confused | :confused: Confused | :confused:

A COM server is a COM object. This means that you actually have two servers.
They may be located in the same file, but that's another thing.
You cannot get an interface to an object without creating it.

My suggestion:
You could have the first server implement an interface method that will create the second server and by that you can avoid calling CreateInstance() from your client, but you would still have to call CreateInstance() from your first server in order to create the second one.


"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 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 
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 

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.