Click here to Skip to main content
15,912,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: vector(wstring) to System::String ? Pin
David Crow5-Feb-09 3:39
David Crow5-Feb-09 3:39 
QuestionOLE DB network suggestions Pin
robocodeboy4-Feb-09 6:27
robocodeboy4-Feb-09 6:27 
QuestionDBCS issue Pin
David Crow4-Feb-09 5:36
David Crow4-Feb-09 5:36 
AnswerRe: DBCS issue Pin
Graham Bradshaw4-Feb-09 6:22
Graham Bradshaw4-Feb-09 6:22 
GeneralRe: DBCS issue Pin
David Crow4-Feb-09 6:47
David Crow4-Feb-09 6:47 
GeneralRe: DBCS issue Pin
Graham Bradshaw4-Feb-09 6:50
Graham Bradshaw4-Feb-09 6:50 
GeneralRe: DBCS issue Pin
David Crow4-Feb-09 6:54
David Crow4-Feb-09 6:54 
GeneralRe: DBCS issue Pin
Graham Bradshaw4-Feb-09 6:58
Graham Bradshaw4-Feb-09 6:58 
So the text isn't 13 bytes long. It's more than that (UTF-8 encoding is not the same as DCBS, so the length of the ex-Notepad file is not relevant).

DavidCrow wrote:
when I send this text and its length (13) to the AS/400 system for processing, it complains about a mismatched SoSi pair.


And that 13 is surely the problem. You need to send the length in bytes to the AS/400, together with all the text, not the length in characters. This assumes, of course, that the AS/400 understands DBCS encoding.
QuestionRe: DBCS issue Pin
David Crow4-Feb-09 7:10
David Crow4-Feb-09 7:10 
AnswerRe: DBCS issue Pin
Graham Bradshaw4-Feb-09 7:29
Graham Bradshaw4-Feb-09 7:29 
AnswerRe: DBCS issue - calculating the number of bytes Pin
daniel_zy6-Feb-09 7:20
daniel_zy6-Feb-09 7:20 
QuestionNeed help on how to create Group Box dynamically Pin
John5024-Feb-09 4:48
John5024-Feb-09 4:48 
AnswerRe: Need help on how to create Group Box dynamically Pin
Code-o-mat4-Feb-09 6:16
Code-o-mat4-Feb-09 6:16 
GeneralRe: Need help on how to create Group Box dynamically Pin
Eags10-Apr-11 9:15
Eags10-Apr-11 9:15 
GeneralRe: Need help on how to create Group Box dynamically Pin
Code-o-mat10-Apr-11 9:20
Code-o-mat10-Apr-11 9:20 
AnswerRe: Need help on how to create Group Box dynamically Pin
adiveppanavar13-Dec-11 19:51
adiveppanavar13-Dec-11 19:51 
QuestionCannot get the correct cursor position in picture control Pin
z01e4-Feb-09 4:25
z01e4-Feb-09 4:25 
QuestionRe: Cannot get the correct cursor position in picture control Pin
David Crow4-Feb-09 4:40
David Crow4-Feb-09 4:40 
AnswerRe: Cannot get the correct cursor position in picture control Pin
z01e4-Feb-09 4:41
z01e4-Feb-09 4:41 
GeneralRe: Cannot get the correct cursor position in picture control Pin
John5024-Feb-09 4:49
John5024-Feb-09 4:49 
AnswerRe: Cannot get the correct cursor position in picture control Pin
Code-o-mat4-Feb-09 4:53
Code-o-mat4-Feb-09 4:53 
QuestionRe: Cannot get the correct cursor position in picture control Pin
z01e4-Feb-09 5:03
z01e4-Feb-09 5:03 
AnswerRe: Cannot get the correct cursor position in picture control Pin
Code-o-mat4-Feb-09 5:36
Code-o-mat4-Feb-09 5:36 
QuestionRe: Cannot get the correct cursor position in picture control Pin
z01e4-Feb-09 5:56
z01e4-Feb-09 5:56 
AnswerRe: Cannot get the correct cursor position in picture control Pin
Code-o-mat4-Feb-09 6:10
Code-o-mat4-Feb-09 6:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.