How can I handle errors in WPDFPrinter?
TWPPDFPrinter *WPPDFPrinter1;
.
.
.
WPPDFPrinter1->Filename = sPDF_FileName;
WPPDFPrinter1->BeginDoc();
.
.
.
The path in sPDF_FileName points to a device which is not available, e.g. a USB-Stick which is not plugged in. In the debugger I get an exception in the WPF-dll, but I have to know what happened and if creating the file was successfull.
Thanks in advance!
Lewis