here also a another Delphi ref : http://rsdn.org/forum/delphi/1698565.all but not compatible with Lazarus
Ok, with a little online searching for constants and corrects for fpc, i got it to compile but I didn't test it.
Was that the problem?
oh i was having many errors while compiling the src, such as in these lines
// Add the ACE to the new ACL.
if not AddAce(pNewAcl^, ACL_REVISION, MAXDWORD, pTempAce, pTempAce.AceSize) then
also was having errors in these
if not GetAclInformation(pdacl^, @aclSizeInfo, SizeOf(ACL_SIZE_INFORMATION), AclSizeInformation) then
but while change into pdacl value , it fixed it but still errors in pTempAce.Acesize and other longbool values, maybe some probelms in constrains, do you mind share yours modifications?
Thanks