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.
For starters, attachments are not only the ones that are in the Attachments tree - there are also attachment annotations that also should be counted.
Also, I don't see why you need an operation here that is not being used anyway.
This should work when there are attachments in the EmbeddedFiles tree, but you should also add attachments from pages:
Well to understand what you want to do, you should first know the PDF specification.
Try the CoreAPIDemo application. It holds many samples on how to work the Core level: https://github.com/tracker-software/PDF ... oreAPIDemo