Reports crashing Winlog
Posted: Wed Mar 16, 2011 7:02 pm
Hi,
I have made an application using Winlog in order to automaticaly obtain reports (rtf converted to pdf).
For that, I use ReportInsertHistoricalAlarmsRTF and ReportInsertTemplateEx commands.
If, by mistake, the start and end date/hour are incorrect (for example a value of 0 in all fields of these commands), Winlog crashes.
How is it possible to avoid it ?
Thanks,
Bruno
I have made an application using Winlog in order to automaticaly obtain reports (rtf converted to pdf).
For that, I use ReportInsertHistoricalAlarmsRTF and ReportInsertTemplateEx commands.
If, by mistake, the start and end date/hour are incorrect (for example a value of 0 in all fields of these commands), Winlog crashes.
How is it possible to avoid it ?
Thanks,
Bruno