View Full Version : Which classes require Administrator privileges

04-25-2008, 08:43 AM
Is there any existing documentation that states which class potentially requires administrator privilege to use and which can be used safely by a standard user?

For example the shortcut class is saved with the executable. Since the executable is traditionnaly in Program Files clearly I cannot use this class unless I have admin priv. or I can override the class to make it more UAC safe.

So far I have had to go check out the source code to see what is being done.


05-05-2008, 12:42 PM
Could you elaborate on what you mean by needing admin privileges? What kind of errors are you seeing? Are you talking about what the program has access to at runtime? Or are you running into problems while compiling? There are probably different answers depending on what kind of permissions you have setup for the user.

05-07-2008, 10:46 AM
Basically what I mean is for a standard user. When the application is running (specifically Vista)

For example Registry - a standard use cannot write to the registy in Vista.

But other things like Workspace or Shortcut - the location where it is saved