Click to open or copy the DCOMperm project files.
The Dcomperm sample provides source code and several wrapper functions to simplify the process of manipulating the access and launch permissions for a COM server. Additionally, this sample provides code that demonstrates how to set and retrieve the RunAs password for a COM server.
This sample uses the following keywords:
_getch; getcurrentprocess; getlasterror; listdefaultaccessacl; listdefaultlaunchacl; makelangid; str2uni; text; uni2str