查看单个帖子
旧 2009-05-07, 07:11 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】why Odstring...unicodebuffer Is Empty

why odstring...unicodebuffer is empty ?
why odstring...unicodebuffer is empty ?
hello,
to write correctly japanese texts (my oddbtextiterator returns wrong characters), i want to use the unicodebuffer i get in "void listfiller::wrstring(int groupcode, const odstring& string)" through the string argument.
in your odamfcappdll sample, this field is not empty.
but in my app, this field is empty. what initialization should i have forgotten ?
thank you in advance for your help.
best regards.
odstring can store unicode characters or an ansi string (non-unicode characters and their code page id).
so in debugger you may see zero unicode buffer even for non-empty string. any attempt to access odstring unicode value via api will synchronize the unicode buffer.
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)