RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegistry.Create Constructor ()

Creates a TRegistry object for an application.

Pascal
constructor Create; overload;
constructor Create(AAccess: LongWord); overload;
C++
__fastcall TRegistry();
__fastcall TRegistry(LongWord AAccess);

Create instantiates a TRegistry object and sets the RootKey property to HKEY_CURRENT_USER and the LazyWrite property to true. If an AAccess parameter is supplied, this value is used to initialize the Access property. Otherwise, Access is initialized to KEY_ALL_ACCESS. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!