CDC.StartSoc(DOCINFO) which brings up doPDF file name and location dialog.
CANCEL from that dialog and StartDoc returns a positive number.
Why does it not return -1 to indicate that user has CANCELed from there.
Unfortunately we cannot the change the way doPDF returns the values for the moment. Thank you for understanding.