Hi there,
I have been out of this for a while, so this may seem a trivial question. Unfortunately, I could not find an answer either in tech support or the existing forum. So here goes.
I have a program which sometimes needs to be Run As Administrator. In theory, I convey the difference using a menu call or I could theoretically detect the privilege state and error out if insufficient for the purpose. To do the first, I need Run*(), ShellExecute(), or something similar which has a "Run As Administrator" parameter. Unfortunately, I have not found such a thing. To do the second, I need a way to determine using code if Administrative Privilege is in force. Again, I have not found such a function.
I really don't want to use the "Request Admin Priv" option on the compiler since most of the time this program will not need it and it could make normal usage significantly inconvenient.
Well, thanks in advance for your attention and for any advice you can give me. I look forward to hearing from you.