COleDispatchException::m_strSource
The framework fills in this string with the name of the application that generated the exception.
CString m_strSource;
Пример
See the example for COleDispatchDriver::CreateDispatch.
Требования
Header: afxdisp.h