onLoad in Ribbon XML is not being called

T

tsract

My XML is doing everything I want except for one thing, calling "GetRibbon"
(see xml snippet)
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
onLoad="GetRibbon" >

Just to be precise: The debug version of my app works fine. The function
is called.
However, the release version of my app is not calling "GetRibbon"
I verified this by throwing in some dialog boxes as a visual trace mechanism.

I'm writting this in c++ however, I can understand vb and C# examples as
well.

Here's what the signature looks like from the IDL file
interface ICallbackInterface : IDispatch{
[id(1), helpstring("method GetRibbon")] HRESULT GetRibbon([in]
IDispatch* pRibbon);
 
Top