Home > Back-end >  Cb xe8 64 debug view the variable value problem in Chinese
Cb xe8 64 debug view the variable value problem in Chinese

Time:09-29

The same program code, can press under xe8 32-bit and 64 - bit compiler running
64 - bit application can not correctly display variable in Chinese characters:


32-bit programs can correctly display variable in Chinese characters:



Although finally shows the result is correct, but in 64 at the debugging, always can't see the Chinese string value, affect the efficiency of the debugging, and I found xe8 in a lot of the value of a variable, especially in database can in single-step tracking debugging, according to a class of members, the value of a variable, it will affect the efficiency of the debugging, c + + builder can 2010, feeling after the upgrade of these problems, please look at each master can solve, thank you!



CodePudding user response:

It seems that this is a 64 - bit compiler bug
 would wbuf [128]. 
String ustr="Chinese shows 1234";
Wcscpy (wbuf, ustr c_str ());


I tried wbuf can display correctly

CodePudding user response:

The to ksrsoft

CodePudding user response:

The to ksrsoft
Would be in a 64 - bit compiler, can show Chinese, but 64 char or not, it doesn't seem that a 64 - bit compilers support the old way

CodePudding user response:

Looking forward to the new optimization
  • Related