Hi Carlos.
Maybe the implmentation of XDispatchProviderInterceptor is faulty. I
assume that you implemented it VB. In case you have not already have a
look at
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Bridge/Automation_Objects_with_UNO_Interfaces
Joachim
Carlos Rocha wrote:
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]