Page 1 of 1

get the permissions for a particular Registry Key in windows

Posted: Wed Jun 07, 2006 12:31 pm
by bpus1
How to get the permissions for a particular Registry Key in windows?
Need to check whether a particular key has permission (full control) for a group of users before installing the software.
Will be great if I can get a code snippnet in C++ or VB..

Posted: Wed Jun 07, 2006 12:43 pm
by madshi
Sorry, madSecurity only supports Delphi. I'd suggest that you simply try accessing the registry key with the specified user account and see whether access works or not.

Posted: Wed Jun 07, 2006 2:08 pm
by DeTour
If I need a very complicated function from an API written for another Language, I always write a short DLL in that Language, which do what I want it to do and exports an DoIT() function for my application.

Thats another good reason why DLLs exist.