I cannot open file by using AVDocOpenFromFile, if the file is under C:/user/localadmin. But it can open file if I added "Everyone" into the security of directory - localadmin. Anyone has the idea about it?
Thanks and best regards,
Can you open it is the UI without changing the security?
Yes. I can open it if not use AVDocOpenFromFile.
Is Protected Mode on?
In perference -> enabled protectd mode at startup
Protected view is All files.
off Run in AppContainer.
This sounds as if it is designed behaviour. Most files cannot be opened from code in Protected Mode. Open it first in the UI, then try running the code.
Actually I don't understand what is "Open it first in the UI"?
The UI is just the menus and buttons of Acrobat.
So, first open the file using File > Open. Then close it. Now see if your code works correctly. If it works, this is the normal function of the Sandbox, blocking access to files.
If use UI, it can open it. But use API, can not open. Do you have other solution for that?