Is there any other way to compare 2 TGUID elements besides converting them into strings (guidtostring function) and after evaluating the expression in Delphi 7?
You can use the IsEqualGUID API declared in SysUtils .
IsEqualGUID () (or IsEqualIID ()), as Tondrey suggested. You can also use SysUtuils. CompareMem () instead, since TGuid is a binary byte array.