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

C / C++ / MFC

 
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 
AnswerRe: DBCS issue Pin
Graham Bradshaw4-Feb-09 6:22
Graham Bradshaw4-Feb-09 6:22 
GetTextLength() is returning the length in characters.

How are you determining the number of bytes to write to the file?

For DBCS, length in characters is not the same as length in bytes.


DavidCrow wrote:
Any clues?


You've considered using Unicode, I assume?

If not, you may have to write your own strlen, hunting from the start to a terminating zero, to get the number of bytes.
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 
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 

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.