Hi,
any ideas why I get the following exception with OnQuoteChanged callback method.
For me, it is a very strange error, because HookClass implements
IHooks interface and the first N times all goes Ok.
--------------------------
System.InvalidCastException: 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)).
at IESignal.HooksClass.get_GetBasicQuote(String sSymbol)
any ideas why I get the following exception with OnQuoteChanged callback method.
For me, it is a very strange error, because HookClass implements
IHooks interface and the first N times all goes Ok.
--------------------------
System.InvalidCastException: 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)).
at IESignal.HooksClass.get_GetBasicQuote(String sSymbol)
Comment