468,290 Members | 1,906 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,290 developers. It's quick & easy.

Setting String(with special chars) in WString (C++)

I have a string which has special chars coming in an input file. I want to set it in a wstring variable present in table . It is not setting the wstring variable if it has any special characters in it (multibyte char) .

I tried the following ,

FieldValue = new xlString( Field );

TempValue = new xlWString();
The value of Fieldvalue is PA—TEST********

Here Tempvalue is printing only PA

*(c_bpm_bpfeed_npObj->MaidenName) =*(TempValue);


If anyone knows how to make this work pls help .
Jan 24 '07 #1
0 1079

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

9 posts views Thread by Martoni | last post: by
5 posts views Thread by oliver | last post: by
4 posts views Thread by Jesper | last post: by
8 posts views Thread by abhi147 | last post: by
1 post views Thread by Gerry Vandermaesen | last post: by
3 posts views Thread by Jim Langston | last post: by
2 posts views Thread by kevin.eugene08 | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.