by Vassilis Antonoulas (2 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(10 Votes)

The code bellow creates a Global Unique Identification Number (GUID), using the CoCreateGuid API found in OLE32.DLL on Windows 95, Windows 98, Windows Me, Windows NT and Windows 2000. The created GUID has five parts that represent the individual parts separated by dashes that you would see when viewing a CLSID or GUID in the system registry.
Code Returns
The five parts of the GUID separeted by dashes.
Download GUID (Global Unique Identification Number) using API (2 KB)