Subject | Re: [ib-support] Re: Generating a unique ID |
---|---|
Author | David R. Robinson |
Post date | 2001-11-09T19:00:27Z |
> Can you provide me some information, code? (if possible) on how youDelphi code snipet:
> create this UID. The option of merging off-line data in a database is
> interesting benefit of using GUID.
function CreateGUID: string;
var
GUID: TGUID;
begin
if CoCreateGUID(GUID) <> S_OK then
RaiseLastWin32Error;
David R.