I need to run the application which requires elevated permissions in AutoCAD/ZWCAD.
By LISP I can run the application using:
(startapp "C:\\[path]\\Application.exe")
But for application requiring elevater permisions startapp returns nil and application not runs.
Tried also:
(setq Shell (vlax-get-or-create-object "Wscript.Shell"))
(setq updater(vlax-invoke-method Shell 'Exec (strcat path "Appname.exe" ) ) )
(vlax-release-object Shell)
but I got:
*error*: Automation error : WshShell.Exec : The requested operation requires elevation.
So is any other way to run external application requiring elevated permisions?
I found that it can be done in both, LISP and C++ ObjectARX so:
LISP:
and in the run.bat
works OK on my site
ObjectARX C++