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);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top