REFCOMPARE

959

description compares instance not contents

In Synergy versions prior to 9.5, an equality or inequality comparison of base types (@*) or explicit boxed types (@d, @i, @a, or @struct) automatically unboxed a boxed object. In version 9.5 and higher, it instead compares the reference (instance) rather than the contents. The REFCOMPARE warning is generated if either a base or boxed type equality or inequality comparison previously resulted in unboxing. You can eliminate the warning by explicitly casting the object handle. (Warning level 4)