views:

8

answers:

2

I want to provide Administrator priviliage to my dll for vista.

Please suggest

A: 

Launch the Process loading the Dll with administrator privileges.

Update:

You could try for a manifest.

http://en.wikipedia.org/wiki/User_Account_Control#Requesting_elevation

sum1stolemyname
A: 

same as in exe files

set it to what you want in your manifest file

< requestedExecutionLevel level="asInvoker|highestAvailable|requireAdministrator" uiAccess="true|false"/ />

explodus