I'm not sure if I am allowed to call this a bug, but when I use CompareStr() with #ENCODING_RAW, I was hoping it would do a binary data comparison, but the strings are zero-terminated.
If this is intentional, I would mention it in the manual.
Code: Select all
DebugPrint(CompareStr("Exif\0\2","Exif\0\0", True, #ENCODING_RAW))