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();

ComObj

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!