Click here to Skip to main content
15,892,697 members
Home / Discussions / COM
   

COM

 
QuestionImplementing Doc/View/Frame in an ActiveX control Pin
zulat20-Dec-05 2:26
zulat20-Dec-05 2:26 
AnswerRe: Implementing Doc/View/Frame in an ActiveX control Pin
Sheng Jiang 蒋晟3-Jan-06 17:30
Sheng Jiang 蒋晟3-Jan-06 17:30 
Questionproblems with WM_COPYDATA to BSPlayer (C# Pin
bart.burkhardt19-Dec-05 14:30
bart.burkhardt19-Dec-05 14:30 
AnswerRe: problems with WM_COPYDATA to BSPlayer (C# Pin
bart.burkhardt1-Jan-06 11:56
bart.burkhardt1-Jan-06 11:56 
QuestionOut-of-Process DLL Pin
MarcelDijk19-Dec-05 13:43
MarcelDijk19-Dec-05 13:43 
AnswerRe: Out-of-Process DLL Pin
Gizzo19-Dec-05 22:04
Gizzo19-Dec-05 22:04 
GeneralRe: Out-of-Process DLL Pin
MarcelDijk20-Dec-05 1:53
MarcelDijk20-Dec-05 1:53 
QuestionCOM. C++. Interface IDispatch::Invoke Pin
shaman-marakame19-Dec-05 10:19
shaman-marakame19-Dec-05 10:19 
Hello People

I have an issues with Interface IDispatch->Invoke

hr = pDisp->Invoke(dispid, IID_NULL, LOCALE_SYSTEM_DEFAULT, DISPATCH_METHOD, &dispparamsArgs, NULL, &excepinfo, NULL);

Thats how I define params which I passing into Invoke
//DISPPARAMS dispparamsArgs = {(VARIANTARG*)&pbstrXMLDoc, NULL, 1, 0};
or like this
DISPPARAMS dispparamsArgs = {NULL, NULL, 0, 0};

This is the actual method which I trying to load:
IRMGetLicense::GetSystemInfo

HRESULT GetSystemInfo(
BSTR* pbstrXMLDoc
);

Parameter pbstrXMLDoc [out] Pointer to a string identifying the system information.

Return Values
This method returns an HRESULT.

Return code Description
S_OK The method succeeded.


But everything happens not as I expecting. Do you have any Ideas why I getting this errors ? Or maybe I do something wrong ?

hr = 0x80020009 Exception occurred.
excepinfo = bstrDescription: 0x00176d24 "The parameter is incorrect.

Thank you.

--
Shaman Marakame.
AnswerRe: COM. C++. Interface IDispatch::Invoke Pin
Welf Wiest31-Jan-06 1:37
Welf Wiest31-Jan-06 1:37 
QuestionDisable Word Macro Pin
kim3er18-Dec-05 23:57
kim3er18-Dec-05 23:57 
AnswerRe: Disable Word Macro Pin
Rajesh R Subramanian20-Dec-05 19:24
professionalRajesh R Subramanian20-Dec-05 19:24 
QuestionMonitor disk writes by particular running processes Pin
Anthony Brenelière16-Dec-05 6:38
Anthony Brenelière16-Dec-05 6:38 
AnswerRe: Monitor disk writes by particular running processes Pin
TheGreatAndPowerfulOz16-Dec-05 7:01
TheGreatAndPowerfulOz16-Dec-05 7:01 
GeneralRe: Monitor disk writes by particular running processes Pin
Anthony Brenelière17-Dec-05 2:19
Anthony Brenelière17-Dec-05 2:19 
QuestionProblem with IpublishingWizard Pin
devcdd16-Dec-05 2:54
devcdd16-Dec-05 2:54 
AnswerRe: Problem with IpublishingWizard Pin
DeniseMak29-Dec-05 12:25
DeniseMak29-Dec-05 12:25 
GeneralRe: Problem with IpublishingWizard Pin
devcdd2-Jan-06 22:57
devcdd2-Jan-06 22:57 
QuestionImplementing Lua Debugger using COM Pin
Prince0fPersia15-Dec-05 20:44
Prince0fPersia15-Dec-05 20:44 
AnswerRe: Implementing Lua Debugger using COM Pin
Brian C Hart30-Dec-05 23:28
professionalBrian C Hart30-Dec-05 23:28 
Questionword add-in Pin
dogogbird14-Dec-05 21:49
dogogbird14-Dec-05 21:49 
QuestionExtensible Storage Engine Pin
M Tauheed13-Dec-05 21:20
M Tauheed13-Dec-05 21:20 
QuestionHow to restrict client application to create COM object Pin
lvantin13-Dec-05 15:26
lvantin13-Dec-05 15:26 
AnswerRe: How to restrict client application to create COM object Pin
Per Nilsson13-Dec-05 21:44
Per Nilsson13-Dec-05 21:44 
AnswerRe: How to restrict client application to create COM object Pin
User 21559714-Dec-05 9:05
User 21559714-Dec-05 9:05 
QuestionCOM Wrapper for C++ DLL Pin
James Smith13-Dec-05 5:37
James Smith13-Dec-05 5:37 

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.