STDMETHOD(ButtonClicked)( IDispatch * RibbonControl)
{
CComQIPtr
pRibbonControl = RibbonControl;
BSTR bstr;
pRibbonControl->get_Id(&bstr);
....
above line was giving access violation in debug build. But it works in release build ...
So do not get blocked due to this...
}
I spent almost one day for this ...
Note: This was happening only on vs6