Menu Content/Inhalt
Home arrow Blog arrow Programming arrow PasDocCommenter
PasDocCommenter PDF Print
Written by Christian Wimmer   
Sunday, 13 August 2006

For Delphi 5 to 7 I created this component to be integrated into the Delphi IDE. It creates from functions in source a PasDoc comment.


 

(*
CreateRestrictedToken
@param(ExistingTokenHandle <Type>)
@param(Flags <Type>)
@param(DisableSidCount <Type>)
@param(SidsToDisable <Type>)
@param(DeletePrivilegeCount <Type>)
@param(PrivilegesToDelete <Type>)
@param(RestrictedSidCount <Type>)
@param(SidsToRestrict <Type>)
@param(NewTokenHandle <Type>)

@return(CreateRestrictedToken)
*)
function CreateRestrictedToken(
  ExistingTokenHandle : THAndle;
  Flags,
  DisableSidCount : Cardinal;
  SidsToDisable : Pointer;
  DeletePrivilegeCount : Cardinal;
  PrivilegesToDelete : Pointer;
  RestrictedSidCount : Cardinal;
  SidsToRestrict : Pointer;
  var NewTokenHandle : Cardinal) : Boolean;

Installation 

The DLL file is simply copied into a directory of your choice.
In registry editor you create a new entry at this key:

HKEY_CURRENT_USER\Software\Borland\Delphi\<Version>\Experts 

Replace <Version> with your Delphi version number.
Create a new string with a name of your choice but the content  of  the full path to the DLL  you copied at first. E.g.

C:\Programme\Delphi\5\DCommenter\DCommenter.dll

After you restarted Delphi you will find a new menu entry in "Tools" main menu. 

Download DLL

Last Updated ( Sunday, 11 February 2007 )
 
< Prev   Next >

Newsflash

"I am ready to turn around 360° - or even more." quote Stromberg (german series character)
 

Resize font

A+ | A- | Reset

See also...

Visit counter



Last updated : 2008-10-26 23:40:58
designed by www.madeyourweb.com