views:

39

answers:

1

I'm trying to use the RegSetKeySecurity() function of Windows API, but the pSecurityDescriptor parameter is a pointer. What is "pointer" (PVOID) data type equivalence in Inno Setup?

Thanks in advance

A: 

The Pascal Scripting used in Inno Setup seems not to support pointers at all. Maybe you can just pass a cardinal (if 32-bit), or you could write your code in an external DLL and call this from the Inno Setup installation program.

Andreas Rejbrand
@Andreas, thanks, I will try it.
Phantom