Error return string

1 view
Skip to first unread message

chinimei

unread,
Feb 10, 2009, 12:05:37 AM2/10/09
to jNext discussion group
I have met a problem when the string i return is long(about 100
characters). The front part of string is ok but the later part returns
wrong character. When i debug, i see just before extension return
string , they are all right. But the js class receives the wrong
character of last part of string. The string i return is std:string.

chinimei

unread,
Feb 10, 2009, 1:21:06 AM2/10/09
to jNext discussion group
i find when extension dll and native all use debug version and with
runtime option /MDd (visual studio). String is correct. But when they
are all Release version with runtime option /MT. Above problems
happens.

chinimei

unread,
Feb 12, 2009, 8:09:39 PM2/12/09
to jNext discussion group
I have the problem fixed. That's my problem.
> > character of last part of string. The string i return is std:string.- 隐藏被引用文字 -
>
> - 显示引用的文字 -
Reply all
Reply to author
Forward
0 new messages