M
Mark Wilson
I'm trying to repiurpose an Office 2007 button on an Outlook Inspector.
The Addin is Native C++ using ATL. When the button is clicked I get the
following error:
Custom UI Runtime Error in Sample Addin
Callback signature mismatch: “OnClickâ€
The IDL defines the function as follows:
[id(43),helpstring("method OnClick")]
HRESULT OnClick([in] IDispatch* RibbonControl, [out,retval] VARIANT*
CancelDefault);
I've also tried defining the return value as VARIANT_BOOL* CancelDefault
without any success. (That's what the documentation said to use
http://msdn.microsoft.com/en-us/library/aa722523(v=office.12).aspx)
Since the error doesn't tell me what Outlook is expecting, how do I debug
this?
The Addin is Native C++ using ATL. When the button is clicked I get the
following error:
Custom UI Runtime Error in Sample Addin
Callback signature mismatch: “OnClickâ€
The IDL defines the function as follows:
[id(43),helpstring("method OnClick")]
HRESULT OnClick([in] IDispatch* RibbonControl, [out,retval] VARIANT*
CancelDefault);
I've also tried defining the return value as VARIANT_BOOL* CancelDefault
without any success. (That's what the documentation said to use
http://msdn.microsoft.com/en-us/library/aa722523(v=office.12).aspx)
Since the error doesn't tell me what Outlook is expecting, how do I debug
this?