Outlook Send Error

T

Tom Groszko

I am using Outlook to send mail from a C++ application. I am getting an
exception but can't figure out which one.

A little code:

try
{ Messagex.Send();
}
catch (...)
{ Answer = false;
}

Answer gets set to false. I have tried
catch (COleException excepInfo)
catch (EXCEPINFO excepInfo)
catch (COleDispatchException excepInfo)

none of which catch the exception.

What can I replace the ellipsis with to get meaningful information about the
exception.

Thanks
Tom G.
 
Top