Click here to Skip to main content
15,905,558 members
Home / Discussions / COM
   

COM

 
AnswerRe: How To Simulate OLE Drag & Drop? Pin
KarstenK26-Apr-09 22:49
mveKarstenK26-Apr-09 22:49 
QuestioniTunes add track to playlist Pin
speakers_8620-Apr-09 15:50
speakers_8620-Apr-09 15:50 
AnswerRe: iTunes add track to playlist Pin
speakers_8620-Apr-09 16:10
speakers_8620-Apr-09 16:10 
Questionfailed accessing COM method after successful cocreateinstance. Pin
rsandeepu20-Apr-09 1:39
rsandeepu20-Apr-09 1:39 
AnswerRe: failed accessing COM method after successful cocreateinstance. Pin
guestcat20-Apr-09 2:30
guestcat20-Apr-09 2:30 
QuestionRe: failed accessing COM method after successful cocreateinstance. Pin
rsandeepu20-Apr-09 23:21
rsandeepu20-Apr-09 23:21 
QuestionRe: failed accessing COM method after successful cocreateinstance. Pin
CPallini20-Apr-09 3:01
mveCPallini20-Apr-09 3:01 
AnswerRe: failed accessing COM method after successful cocreateinstance. Pin
rsandeepu20-Apr-09 3:22
rsandeepu20-Apr-09 3:22 
Hi
this is the code segment:

CLSIDFromString(L"{AF684922-D245-11D3-8DE8-00A024ACAB85}", &CLSID_MSDiscMasterObj);
CLSIDFromString(L"{AF684924-D245-11D3-8DE8-00A024ACAB85}", &IID_IDiscMaster);

hr = CoInitialize(NULL);
if(SUCCEEDED(hr))
{
hr = CoCreateInstance(CLSID_MSDiscMasterObj, NULL, CLSCTX_LOCAL_SERVER, IID_IDiscMaster, (void**)&IV2WObj);

if(SUCCEEDED(hr))
{
VARIANT ReturnValue;
ReturnValue = IV2WObj->MakeConnection(1,"VPCI",65536,0);
}
}

it fails at method call.
CoInitialize successful,
cocreateinstance is also successful.
the COM object is obtained as an executable.
Which is sucessfully launched after executing cocreateinstance.

please help
GeneralRe: failed accessing COM method after successful cocreateinstance. Pin
guestcat21-Apr-09 11:00
guestcat21-Apr-09 11:00 
QuestionRe: failed accessing COM method after successful cocreateinstance. Pin
rsandeepu21-Apr-09 15:45
rsandeepu21-Apr-09 15:45 
QuestionRe: failed accessing COM method after successful cocreateinstance. Pin
rsandeepu21-Apr-09 20:47
rsandeepu21-Apr-09 20:47 
AnswerRe: failed accessing COM method after successful cocreateinstance. Pin
KarstenK21-Apr-09 21:18
mveKarstenK21-Apr-09 21:18 
AnswerRe: failed accessing COM method after successful cocreateinstance. Pin
rsandeepu24-Apr-09 2:14
rsandeepu24-Apr-09 2:14 
QuestionAccess to managed constructor with parameters from unmanaged code. Pin
fenrirjk219-Apr-09 23:32
fenrirjk219-Apr-09 23:32 
AnswerRe: Access to managed constructor with parameters from unmanaged code. Pin
KarstenK24-Apr-09 4:21
mveKarstenK24-Apr-09 4:21 
GeneralRe: Access to managed constructor with parameters from unmanaged code. Pin
fenrirjk224-Apr-09 4:37
fenrirjk224-Apr-09 4:37 
GeneralRe: Access to managed constructor with parameters from unmanaged code. Pin
KarstenK26-Apr-09 20:32
mveKarstenK26-Apr-09 20:32 
GeneralRe: Access to managed constructor with parameters from unmanaged code. Pin
fenrirjk226-Apr-09 21:44
fenrirjk226-Apr-09 21:44 
QuestionAccessing ActiveX Ambient properties? Pin
dequadin17-Apr-09 23:57
dequadin17-Apr-09 23:57 
AnswerRe: Accessing ActiveX Ambient properties? Pin
dequadin18-Apr-09 5:21
dequadin18-Apr-09 5:21 
GeneralRe: Accessing ActiveX Ambient properties? Pin
rdunnill3-Aug-20 11:37
rdunnill3-Aug-20 11:37 
QuestionHow to get image from IHTMLImgElement ? Pin
alexhalt17-Apr-09 6:14
alexhalt17-Apr-09 6:14 
AnswerRe: How to get image from IHTMLImgElement ? Pin
sdc39528-May-09 4:36
sdc39528-May-09 4:36 
Questionhow to ping message in wireless network Pin
alish061015-Apr-09 3:04
alish061015-Apr-09 3:04 
Questionerror "Missing file: ---- Urgent Pin
shantanusenin14-Apr-09 18:44
shantanusenin14-Apr-09 18:44 

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.