This content has been marked as final.
Show 2 replies
-
1. Re: about ASFileGetURL
lrosenth May 11, 2010 7:33 AM (in response to ChromeUser)Is it possible that you were expecting null terminated data and it wasn't? Not checking the length of the returned string properly?
Offhand, there isn't any reason it shouldn't work and return the correct data...
-
2. Re: about ASFileGetURL
ChromeUser May 11, 2010 6:47 PM (in response to lrosenth)Yes,i was expecting a null terminated string in the right position.
I don't know that the characters appended to filename is random or fixed.
I'm using Acrobat SDK 8 + Adobe Reader 9 on Windows XP + SP2 and call ASFileGetURL in AVDocDidOpen notification.
PDDoc pDoc = AVDocGetPDDoc(doc);
ASFile asFile = PDDocGetFile(pDoc);
char* pURL = ASFileGetURL (asFile);


