开发者

Delphi 7 tguid compare

开发者 https://www.devze.com 2023-01-21 01:09 出处:网络
Is any other way to compare 2 TGUID elem开发者_如何学Goents, except transform them into strings (the guidtostring function) and after evaluate the expression, in Delphi 7?You can use IsEqualGUID API d

Is any other way to compare 2 TGUID elem开发者_如何学Goents, except transform them into strings (the guidtostring function) and after evaluate the expression, in Delphi 7?


You can use IsEqualGUID API declared in SysUtils.


IsEqualGUID() (or IsEqualIID()), like TOndrej suggested. You can also use SysUtuils. CompareMem() instead, since TGuid is a binary array of bytes.

0

精彩评论

暂无评论...
验证码 换一张
取 消