Hi,

Using VB with Automation Bridge.

The folowing code raises an exception when calling "releaseDispatchProviderInterceptor". Everything else works fine, including the interception, but I'm unable to release it before closing the document.

//--------------------------
Set oXDispatchProviderInterceptor = New XDispatchProviderInterceptor

oFrame.registerDispatchProviderInterceptor oXDispatchProviderInterceptor
oFrame.releaseDispatchProviderInterceptor oXDispatchProviderInterceptor
//--------------------------

The error message is: (in case I can't attach the image)

/------------------------------------
Runtime error '1001':

com.sun.star.uno.RuntimeException: [automation bridge] unexpected exception in IUnknownWrapper_Impl::Invoke !!
/------------------------------------

What does this mean? anything wrong with oXDispatchProviderInterceptor object?

Thanks,
Carlos

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to