RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComObj.CreateClassID Function

CreateClassID generates a new GUID and returns it as a string.

Pascal
function CreateClassID: string;
C++
AnsiString CreateClassID();

Use CreateClassID to create a new GUID and access it as a string. A Delphi demo of the CreateClassID function is available in the Demos area. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!