XTPSystemHelpers::XTPLoadUnicodeText - MultiByteTo |
Post Reply |
Author | |
jw_statica
Groupie Joined: 23 May 2018 Status: Offline Points: 25 |
Post Options
Thanks(0)
Posted: 13 hours 30 minutes ago at 4:08am |
The function XTPLoadUnicodeText always calls GetLastError() after calling MultiByteToWideChar function, even if the string conversion completes succesfully and the target buffer gets filled with data. According to MSDN documentation (https://learn.microsoft.com/en-us/windows/win32/api/stringapiset/nf-stringapiset-multibytetowidechar) GetLastError should be called when MultiByteToWideChar returns 0. Due to the complexity of our software, we're unable to pinpoint where in our program thread error code gets overwritten. This prevents certain icons from codejock style libraries from being loaded correctly, therefore they only show blank squares instead of icons, requiring manual changes in Codejock source code.
|
|
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 312 |
Post Options
Thanks(0)
|
This was a known issue and it has been fixed for the next maintenance update.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |