高分求助,怪问题,高手请进!
我在vs2008C#中调用一个vs2005 C++写的com组件接口,会出现System.Runtime.InteropServices.COMException: 服务器出现意外情况。 (异常来自 HRESULT:0x80010105 (RPC_E_SERVERFAULT))错误,请问各位高手如何解决?
C#中的调用代码:this.epmTrader.RequestQuote((short)mf, rows);
com组件中的接口代码:
STDMETHODIMP CEPMTradeAPI::RequestQuote(SHORT lType, IRows* oRows)
{
CRows * pRows = (CRows*)oRows ;
DataRows dRows = pRows->m_rows;
dealWithRequestHisQuote(dRows,lType);//
return S_OK;
}
谢谢