07-29-2012 01:54 PM
Platform LV2010 on Win7Pro from an Administrator account.
We have an application written in C++ that does a lot of hardware control. This app must run as administrator. I have been tasked with writing a macro shell around this app that uses dll calls to move the mouse and click on buttons etc. In order to do this since the app is run elevated I must run LV elevated as well.
So I right click on the LV icon on my start menu and select Run as Administrator. When I do that it takes a long time but finally LV opens to not the start screen but to a new VI. I close the new vi and the start screen comes back.
You really have to be extremely careful how you open up your vi's. If you go to a folder tab and double click on it you can get an unprivileged instance of LV to open up. Now I have two copies of the same vi open just in different LV instances.
I'm gonna install 2011 DS2 to see if it behaves the same way. This is some damn hinkey stuff.
Norm
07-29-2012 02:32 PM
07-29-2012 03:17 PM
If I have to I will but troubleshooting an executable is a lot more dificult. I'm still in the development stage.
07-30-2012 10:07 AM
LV 2011 DS2 works as expected in run as administrator.