You are assuming that the return value from CosStringValue() is a Cstring (aka a Windows-encoded string) - but it can also be a Unicode (UTF16BE encoded) string.
↧
You are assuming that the return value from CosStringValue() is a Cstring (aka a Windows-encoded string) - but it can also be a Unicode (UTF16BE encoded) string.