October 17th, 2012, 04:37 PM
Getting RPC_E_SYS_CALL_FAILED in IDispatchEx::GetDispID() for an out-of-proc IDispatc
I知 trying to add few automation objects to the scripts (hosted via a separate process (ATL EXE server)). Also I am trying to sink the events from these automation objects inside my ATL EXE script engine.
To achive this I知 using CDispExSinkConnector as described in http://www.codeproject.com/Articles/...ripting-Engine
As described I知 using IDispatchEx::GetDispID()to create new members inside the scripting engine. Once the member DISPID has been created, I知 using InvokeEx()to set the property value.
But these method calls return RPC_E_SYS_CALL_FAILED.
Note- Here I get the IDispEx pointer from an OUT-OF-PROC IDispatch pointer.
Any quick guidance/ help will be much appreciated.
Tags for this Thread
Click Here to Expand Forum to Full Width