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

C / C++ / MFC

 
AnswerRe: winhttp ssl using client certificate P12 Pin
andrew7webb1-Jan-11 11:36
andrew7webb1-Jan-11 11:36 
QuestionMSI, ShellNew and Vista Ultimate.. [modified] Pin
Member 38520244-Feb-09 10:54
Member 38520244-Feb-09 10:54 
Questionvector(wstring) to System::String ? Pin
Thilek4-Feb-09 7:02
Thilek4-Feb-09 7:02 
AnswerRe: vector(wstring) to System::String ? Pin
CPallini4-Feb-09 7:57
mveCPallini4-Feb-09 7:57 
GeneralRe: vector(wstring) to System::String ? Pin
Thilek4-Feb-09 19:53
Thilek4-Feb-09 19:53 
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 
When our application is used on a Japanese system, we are encountering a DBCS problem. When entering text into one of the edit controls, there may be several instances of the shift-out/shift-in pair intermingled with "normal" text. For example:

SoXXXXXXSiXSoXXXXXXSi

When I call GetTextLength() on this text, it returns 13. If this text is saved to a text file (e.g., using Notepad since it's all I can understand on a Japanese system), the size is reported as 13 (I guess the 2 SoSi pair did not get saved). Now for the problem: when I send this text and its length (13) to the AS/400 system for processing, it complains about a mismatched SoSi pair. Debugging on the AS/400 end, we can change the length to 17 and it works fine. I've no clue how to handle this. If the above example were doubled, then GetTextLength() would return 26, yet we'd have to change the value to 34 in order for it to work.

Any clues?

- DC

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch


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 
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 

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.