Click here to Skip to main content
15,795,398 members
Home / Discussions / COM
   

COM

 
QuestionInvalidCastException by registering events on Office Add-In Pin
maesi19808-Aug-09 6:54
maesi19808-Aug-09 6:54 
AnswerRe: InvalidCastException by registering events on Office Add-In [modified] Pin
maesi198010-Aug-09 1:45
maesi198010-Aug-09 1:45 
QuestionCom Component Pin
sekannak7-Aug-09 0:58
sekannak7-Aug-09 0:58 
AnswerRe: Com Component Pin
Randor 9-Aug-09 10:53
professional Randor 9-Aug-09 10:53 
GeneralRe: Com Component Pin
sekannak9-Aug-09 19:57
sekannak9-Aug-09 19:57 
QuestionWMP loop playing - black between each play Pin
pimb26-Aug-09 3:46
pimb26-Aug-09 3:46 
AnswerRe: WMP loop playing - black between each play --- found a solution Pin
pimb26-Aug-09 3:53
pimb26-Aug-09 3:53 
Questioninvoke output parameters to javascript? Pin
Hongjun Ge5-Aug-09 7:11
Hongjun Ge5-Aug-09 7:11 
How to set output parameter value to javascript use invoke function's pDispParams.

in javascript

<script type="text/javascript"><br />
var fVal; // Want a float value<br />
external.GetFloat(fVal);<br />
</script>



How do it in Invoke function???


STDMETHODIMP CImpIDispatch::Invoke(<br />
/* [in] */ DISPID dispIdMember,<br />
/* [in] */ REFIID /*riid*/,<br />
/* [in] */ LCID /*lcid*/,<br />
/* [in] */ WORD wFlags,<br />
/* [out][in] */ DISPPARAMS* pDispParams,<br />
/* [out] */ VARIANT* pVarResult,<br />
/* [out] */ EXCEPINFO* /*pExcepInfo*/,<br />
/* [out] */ UINT* puArgErr)<br />
{<br />
return S_OK;<br />
}


Hongjun Ge

AnswerRe: invoke output parameters to javascript? Pin
Vi25-Aug-09 21:49
Vi25-Aug-09 21:49 
GeneralRe: invoke output parameters to javascript? Pin
Hongjun Ge6-Aug-09 4:54
Hongjun Ge6-Aug-09 4:54 
GeneralRe: invoke output parameters to javascript? Pin
Vi26-Aug-09 21:24
Vi26-Aug-09 21:24 
GeneralRe: invoke output parameters to javascript? Pin
Hongjun Ge7-Aug-09 6:57
Hongjun Ge7-Aug-09 6:57 
QuestionHow can I call a MSWord VBA macro from MFC *and* passing it arguments Pin
sashoalm4-Aug-09 5:34
sashoalm4-Aug-09 5:34 
QuestionCalling activeX method with array Pin
Nicolas Bonamy3-Aug-09 0:21
Nicolas Bonamy3-Aug-09 0:21 
QuestionICaptureGraphBuilder2:RenderStream strange problem Pin
Hristo-Bojilov30-Jul-09 12:48
Hristo-Bojilov30-Jul-09 12:48 
AnswerRe: ICaptureGraphBuilder2:RenderStream strange problem Pin
Hristo-Bojilov30-Jul-09 23:04
Hristo-Bojilov30-Jul-09 23:04 
QuestionCOM InprocServer32 Remoting Pin
sdk_tiger30-Jul-09 4:05
sdk_tiger30-Jul-09 4:05 
AnswerRe: COM InprocServer32 Remoting Pin
Baltoro2-Aug-09 12:34
Baltoro2-Aug-09 12:34 
GeneralRe: COM InprocServer32 Remoting [modified] Pin
sdk_tiger3-Aug-09 4:47
sdk_tiger3-Aug-09 4:47 
GeneralDamn, that is mind-boggling Pin
Baltoro6-Aug-09 12:37
Baltoro6-Aug-09 12:37 
QuestionHow to capture File-&gt;Save event in MS Word Pin
sashoalm30-Jul-09 0:07
sashoalm30-Jul-09 0:07 
AnswerRe: How to capture File-&gt;Save event in MS Word Pin
Garth J Lancaster30-Jul-09 13:30
professionalGarth J Lancaster30-Jul-09 13:30 
GeneralRe: How to capture File-&gt;Save event in MS Word Pin
sashoalm30-Jul-09 22:10
sashoalm30-Jul-09 22:10 
QuestionHow to provide the navigation inside the page Pin
peace_smyle28-Jul-09 1:08
peace_smyle28-Jul-09 1:08 
QuestionWIA set device to use ADF feeder instead of glass. Pin
CodeBase2527-Jul-09 10:27
CodeBase2527-Jul-09 10:27 

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.