Click here to Skip to main content
15,914,111 members
Home / Discussions / COM
   

COM

 
GeneralRe: MFC executable registration. Pin
oleg6316-Mar-04 4:14
professionaloleg6316-Mar-04 4:14 
Questionussoftproblem with COM server registration??? Pin
pelos7-Mar-04 4:41
pelos7-Mar-04 4:41 
AnswerRe: ussoftproblem with COM server registration??? Pin
Steve S7-Mar-04 22:03
Steve S7-Mar-04 22:03 
GeneralRe: ussoftproblem with COM server registration??? Pin
pelos8-Mar-04 11:37
pelos8-Mar-04 11:37 
AnswerRe: ussoftproblem with COM server registration??? Pin
Anonymous8-Mar-04 9:36
Anonymous8-Mar-04 9:36 
AnswerClass not registered Pin
pelos9-Mar-04 20:06
pelos9-Mar-04 20:06 
AnswerRe: ussoftproblem with COM server registration??? Pin
Vi29-Mar-04 20:44
Vi29-Mar-04 20:44 
GeneralRe: ussoftproblem with COM server registration??? Pin
pelos10-Mar-04 0:15
pelos10-Mar-04 0:15 
Ohh, thanks for your help!
...but now i have got another problem Blush | :O :
HRESULT says "interface not compatible"

i ve tried it with CoCreateInstanceEx instead CoCreateInstance but the result is the same. Could be the MIDL definition the cause of the problem?

Code is something like this:

IHelloObj *iHello; // point to teh interface remoto
// other variables ans COM inicialitation

//mutli_qi strcuture
MULTI_QI qi = {&IID_IHelloObj, NULL, S_OK};

//server info
COSERVERINFO csi;
csi.pwszName = _bstr_t("localhost");

...

hr = CoCreateInstanceEx(CLSID_HelloObj,NULL,CLSCTX_SERVER,&csi,
1,&qi);

// here hr and qi.hr are not succeeded
if(SUCCEEDED(hr) && SUCCEEDED(qi.hr))
{
// get the interface
// call to remote methods
...

A lot of thanks!!


QuestionCopying an automation object? Pin
Zee man6-Mar-04 22:46
Zee man6-Mar-04 22:46 
AnswerRe: Copying an automation object? Pin
Steve S7-Mar-04 22:00
Steve S7-Mar-04 22:00 
GeneralRe: Copying an automation object? Pin
Zee man8-Mar-04 4:04
Zee man8-Mar-04 4:04 
GeneralRe: Copying an automation object? Pin
Steve S8-Mar-04 4:33
Steve S8-Mar-04 4:33 
QuestionHow to make clickable/ draggable shapes Pin
Anonymous4-Mar-04 21:24
Anonymous4-Mar-04 21:24 
Generalopening an Excel file Pin
Liate2-Mar-04 5:37
Liate2-Mar-04 5:37 
GeneralRe: opening an Excel file Pin
Steve S2-Mar-04 6:24
Steve S2-Mar-04 6:24 
GeneralRe: opening an Excel file Pin
Liate2-Mar-04 19:55
Liate2-Mar-04 19:55 
GeneralProblem while destroying SafeArray Pin
mandarpb1-Mar-04 22:09
sussmandarpb1-Mar-04 22:09 
GeneralRe: Problem while destroying SafeArray Pin
Steve S1-Mar-04 22:22
Steve S1-Mar-04 22:22 
GeneralRe: Problem while destroying SafeArray Pin
Anonymous2-Mar-04 19:35
Anonymous2-Mar-04 19:35 
GeneralRe: Problem while destroying SafeArray Pin
Steve S2-Mar-04 23:21
Steve S2-Mar-04 23:21 
GeneralRe: Problem while destroying SafeArray Pin
Anonymous5-Mar-04 3:04
Anonymous5-Mar-04 3:04 
GeneralRe: Problem while destroying SafeArray Pin
Steve S7-Mar-04 21:56
Steve S7-Mar-04 21:56 
GeneralRe: Problem while destroying SafeArray Pin
Anonymous10-Mar-04 2:06
Anonymous10-Mar-04 2:06 
GeneralRe: Problem while destroying SafeArray Pin
Prakash Nadar6-Mar-04 6:45
Prakash Nadar6-Mar-04 6:45 
GeneralRe: Problem while destroying SafeArray Pin
Anonymous10-Mar-04 2:07
Anonymous10-Mar-04 2:07 

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.