J
jiabingg
Hi,
I got the following exception when I'm calling a COM method from C#.
The exception was caught by C# exception handler.
Exception Message: The server threw an exception. (Exception from
HRESULT: 0x80010105 (RPC_E_SERVERFAULT)).
The COM code is just to return the length of a vector like below, but
it failed.
try
{
long l = myVector.size(); //exception happened here when debugging
}
catch (_com_error& err)
{
//handle com error
}
catch (...)
{
//handle C++ exceptions
}
figure out where is it.
I do get another AV exception before coming to here. I only know that
it happened at __DllMainCRTStartup, no more information.
Any information is welcome.
Thanks
Jia
I got the following exception when I'm calling a COM method from C#.
The exception was caught by C# exception handler.
Exception Message: The server threw an exception. (Exception from
HRESULT: 0x80010105 (RPC_E_SERVERFAULT)).
The COM code is just to return the length of a vector like below, but
it failed.
try
{
long l = myVector.size(); //exception happened here when debugging
}
catch (_com_error& err)
{
//handle com error
}
catch (...)
{
//handle C++ exceptions
}
My understanding is that I got some memory trashed, but I couldn'tFrom debugging, the exception happend when getting the size on vector.
figure out where is it.
I do get another AV exception before coming to here. I only know that
it happened at __DllMainCRTStartup, no more information.
Any information is welcome.
Thanks
Jia