Hi,
I'm trying to open an attachment using SDK. However, I want to open it using C++ code, not with JavaScript.
As for now, I can open an attachment using JavaScript 'exportDataObject' function.
What are the equivalent functions in Acrobat SDK (for C++) to importDataObject/exportDataObject/openDataObject/createDataObject?
thx,
zieglers
P.S. i don't wanna use the following code snippet to open my attachment in an external window. I just wanna use C++ functions to open it.
this.exportDataObject({ cName: \"Notes\", nLaunch: 2 });
AFExecuteThisScript (myPDDoc, buf, NULL);
Extract the decrypted stream data into a file with the approiate file extension. Then use OS functions to launch it.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script