COleDispatchException::m_strSource
The framework fills in this string with the name of the application that generated the exception.
CString m_strSource;
Example
See the example for COleDispatchDriver::CreateDispatch.
Requirements
Header: afxdisp.h