Moderators:TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
I'm running into a situation I don't understand. In the following code snippet, I'm able to successfully get a handle to IPXC_AcroForm, but not to Info or Pages:
lb_result = ole_tracker_pdf.Object.SetLicKey(ls_key)
ole_tracker_pdf.object.OpenDocFromPath(this.is_temp_file, lole_null)
lole_frame = ole_tracker_pdf.object.frame
lole_inst = ole_tracker_pdf.object.inst
lole_doc = ole_tracker_pdf.Object.doc
lole_coredoc = lole_doc.CoreDoc
// ** This works **
IF lole_coredoc.HasAcroForm THEN
// The following line does create a pointer to IPXC_AcroForm and stores it in lole_AcroForm
lole_AcroForm = lole_coredoc.AcroForm
END IF
// ** This doesn't work **
// The following line does NOT store a pointer to IPXC_DocumentInfo. Why? lole_info = null
lole_info = lole_coredoc.Info
// Same with Pages. Can't get a pointer to it?
lole_pages = lole_coredoc.Pages
Any ideas what I still need to do to get a handle to those? Thanks