I am using Acrobat SDK for developing *.api. When I use command line to open pdf file as follows:
AcroRd32.exe 0001.pdf aaa bbb ccc.
If *.api can get the parameter - aaa bbb ccc?
Copy link to clipboard
Those are not legal parameters, they should cause an error. If they don't cause an error today, they could fail at any time.
To get a command line you can use https://docs.microsoft.com/en-us/windows/win32/api/processenv/nf-processenv-getcommandlinew GetCommandLineW, but not if Protected Mode is switched on (since you are no longer running in the process with the original command line).