Hello,
Our application is crashing with the following error message. This is happening in our "eSignal_OnQuoteChanged" event handler, specifically when we make the call to "BasicQuote q = eSignal.get_GetBasicQuote(sSymbol);"
My thought was to re-initialize the eSignal object with another call to:
"eSignal = new IESignal.Hooks();" but this call throws yet another exception.
So, 2 questions.
1. What causes the following error
2. What is the proper way to recover from this error (currently we need to force-stop our app and manually kill the WinSig and WinROS processes).
Error/Exception message:
Unable to cast COM object of type 'IESignal.HooksClass' to interface type 'IESignal.IHooks'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{C5916B45-A7EB-4919-A742-AD47AE3AE996}' failed due to the following error: System call failed. (Exception from HRESULT: 0x80010100 (RPC_E_SYS_CALL_FAILED)).
Our application is crashing with the following error message. This is happening in our "eSignal_OnQuoteChanged" event handler, specifically when we make the call to "BasicQuote q = eSignal.get_GetBasicQuote(sSymbol);"
My thought was to re-initialize the eSignal object with another call to:
"eSignal = new IESignal.Hooks();" but this call throws yet another exception.
So, 2 questions.
1. What causes the following error
2. What is the proper way to recover from this error (currently we need to force-stop our app and manually kill the WinSig and WinROS processes).
Error/Exception message:
Unable to cast COM object of type 'IESignal.HooksClass' to interface type 'IESignal.IHooks'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{C5916B45-A7EB-4919-A742-AD47AE3AE996}' failed due to the following error: System call failed. (Exception from HRESULT: 0x80010100 (RPC_E_SYS_CALL_FAILED)).
Comment