binkle
12-Feb-2010, 09:21 AM
Hi
when using sndSendInSeparatedThread with esmEmailClient my application crashes/exits without giving any error on sending the report:
static class InstallProgram
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(String[] args)
{
EurekaLogSystem.ExceptionHandler.Activate();
//Jam.Utils.Eurekalog.ApplyStandardSettings(Jam.Util s.Constants.AppVarExchangeServerToolbox + Jam.Utils.Constants.EMailAppendix);
EurekaLogOptions options = EurekaLogSystem.ExceptionHandler.CurrentEurekaLogO ptions;
options.EMailSendMode = EmailSendMode.esmEmailClient;
options.EMailAddresses = "est@jam-software.de";
//set common send options
options.CommonSendOptions |= CommonSendOptions.sndSendInSeparatedThread;
string text = null;
text.Clone();//invoke exception for testing
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(fals e);
InstallForm eSTInstForm = new InstallForm();
eSTInstForm.DeInstallation = args.Length > 0;
Application.Run(eSTInstForm);
}
}
Any thoughts on this?
when using sndSendInSeparatedThread with esmEmailClient my application crashes/exits without giving any error on sending the report:
static class InstallProgram
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(String[] args)
{
EurekaLogSystem.ExceptionHandler.Activate();
//Jam.Utils.Eurekalog.ApplyStandardSettings(Jam.Util s.Constants.AppVarExchangeServerToolbox + Jam.Utils.Constants.EMailAppendix);
EurekaLogOptions options = EurekaLogSystem.ExceptionHandler.CurrentEurekaLogO ptions;
options.EMailSendMode = EmailSendMode.esmEmailClient;
options.EMailAddresses = "est@jam-software.de";
//set common send options
options.CommonSendOptions |= CommonSendOptions.sndSendInSeparatedThread;
string text = null;
text.Clone();//invoke exception for testing
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(fals e);
InstallForm eSTInstForm = new InstallForm();
eSTInstForm.DeInstallation = args.Length > 0;
Application.Run(eSTInstForm);
}
}
Any thoughts on this?