UtilsLib Xojo and Real Studio plugin

GenerateGUID Method

To create a globally unique 128 bit ID, use the GenerateGUID function.

GenerateGUID(
   Formated as Boolean) as String

Parameters

Formated
If this parameter is set to true then the GenerateGUID function will return the GUID formated as GUID's are generally formated, otherwise it will return it in as crushed together 32 bytes.

Returns

String

Remarks

Globally unique ID's are calculated from Ethernet addresses, Time and more important parameters. GUID's have become so important in the computer world, where the need for unique numbers is high, that it has been made a Standard in the Windows 95/98,NT API calls. GUID's are much used in medical databases and other sensitive databases, as well as computer components management and so on. The GenerateGUID function is not yet a standard of MacOS.

Windows 2000 and XP Note:
Under Windows 2000 the GUID's cannot be traced to the generation machine. This was a security change in the Win32 API calls. In MacOS and Windows previous to Windows 2000, the GUID can be traced by the Ethernet address.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa
  • Win32 - Windows
  • Linux x86

    Unsupported Platforms:

    See Also

    GlobalMethods Global