New Forum | Previous | Next | (P-PDF) Developers
Topic: AFExecuteThisScript won't return a value
Conf: (P-PDF) Developers, Msg: 87366
Date: 5/9/2003 12:42 AM
Maybe I should wait until I am better rested, but AFExecuteThisScript doesn't seem to want to return a value, or maybe I misunderstand how it works. I'm hoping someone can help.
char *returnStr = 0;
AFExecuteThisScript (pdDoc, "myValue = 5",&returnStr);
AFExecuteThisScript (pdDoc, "myValue",&returnStr);
I stepped through with the debugger, and returnStr is NULL after both calls. Acrobat 5.05 on Windows.