Propagation Errors with COM
Posted on 1998-11-23
We are having trouble passing error information across two COM boundaries. If you have :
VB calls ATL object1 which calls ATL object2 and ATL object2 throws an exception using
return( Error( "Error Description", GUID_NULL, E_FAIL) );
We want an error to be propagated to the origionator (VB). The error number E_FAIL is available in VB but the "Error Description" is lost somewhere along the way.
Any solutions? We are using MSVC6.0 and VB6.0