I use this to pass parameters to another exe file
ShellExecute(Application.Handle,'open',pwidechar(mFilename),pwidechar(mParams),nil,SW_SHOWNORMAL);
That causes windows to open up a security message 'Do you want to allow this app to make changes to your device?' Which is fine, the problem is...