MBCS Chinese crashed.. |
Post Reply |
Author | |
zhengle
Newbie Joined: 19 September 2011 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 28 November 2011 at 1:57am |
i built the project using MBCS. When I used syntax edit for some lua file(which has Chinese comments), it crashed. I debug the problem, and found the code snippet:
TCSLWR_S((LPTSTR)&dwChar0, 2); the parameter "2" means sizeInWords, actually in MBCS version, we needs "size in bytes" which is 4. I am not quite sure if it's a bug or has some other consideration. So i report it here for your reference. |
|
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 |