Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3029

How to code the permissions for Windows?

$
0
0
Hi, ALL, Looking at GTK, there is a GPermission class which has a nice properties - “allowed”, “can-acquire” and “can-release”. Those properties will help the developer create appropriate controls on the fly in order to get elevation or skip it if it was already entered/program running under the root privileges. The same set exist for OSX/Cocoa. Is something like this exist for Windows/WinAPI? Or everything here will have to be coded manually? Moreover - is there a way to get the elevation status? If the elevation dialog is shown and then escaped - can I get the result of that operation? Or it will have to be inside try/catch() block? Thank you.

Viewing all articles
Browse latest Browse all 3029

Latest Images

Trending Articles



Latest Images