PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
GetGUID (Function)
In french: DonneGUID
Calculates a globally unique identifier (named "GUID"), whose size is:
  • equal to 16 bytes, which means 32 hexadecimal characters.
  • Versions 24 and later
    equal to 32 bytes, which means 64 hexadecimal characters.
    New in version 24
    equal to 32 bytes, which means 64 hexadecimal characters.
    equal to 32 bytes, which means 64 hexadecimal characters.
Note: GUIDs correspond to UUIDs.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Java This function is now available for the Java applications.
Android This function is now available for Android applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Java This function is now available for the Java applications.
Android This function is now available for Android applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Java This function is now available for the Java applications.
Android This function is now available for Android applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 19 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 19
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
MyGUID is string
MyGUID = GetGUID()
// Example of calculated GUID: F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4
Versions 24 and later
My UUID is UUID
MyUUID = GetGUID()
// Example of calculated GUID: a0a79fce-b311-4d56-a1fe-f57d1c6e02bc

MyUUID256 is 256-bit UUID
MyUUID256 = GetGUID(guidRough256)
// Example of calculated GUID: bd05db772a9970c1d91adf8f86a7217ad65c64cf95b8cc6bc10cad69432f0473
New in version 24
My UUID is UUID
MyUUID = GetGUID()
// Example of calculated GUID: a0a79fce-b311-4d56-a1fe-f57d1c6e02bc

MyUUID256 is 256-bit UUID
MyUUID256 = GetGUID(guidRough256)
// Example of calculated GUID: bd05db772a9970c1d91adf8f86a7217ad65c64cf95b8cc6bc10cad69432f0473
My UUID is UUID
MyUUID = GetGUID()
// Example of calculated GUID: a0a79fce-b311-4d56-a1fe-f57d1c6e02bc

MyUUID256 is 256-bit UUID
MyUUID256 = GetGUID(guidRough256)
// Example of calculated GUID: bd05db772a9970c1d91adf8f86a7217ad65c64cf95b8cc6bc10cad69432f0473
Syntax
<Result> = GetGUID([<GUID format>])
<Result>: Character string
Generated identifier.
<GUID format>: Optional Integer constant
Used to define the format of returned identifier:
guidRoughThe GUID corresponds to a sequence of 16 hexadecimal characters.
For example: "CD9FE4B6AE1D448CB157D9EA074726CF".
Versions 24 and later
guidRough256
New in version 24
guidRough256
guidRough256
The GUID corresponds to a sequence of 32 hexadecimal characters.
For example: "bd05db772a9970c1d91adf8f86a7217ad65c64cf95b8cc6bc10cad69432f0473".
guidFormatted
(Default value)
The GUID is formatted for a display with separators.
For example: "{CD9FE4B6-AE1D-448c-B157-D9EA074726CF}".
Remarks
Several successive calls to GetGUID in the same executable are used to get distinct GUIDs.
Component : wd240std.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment