Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: char pointer question Pin
David Crow10-Oct-07 3:08
David Crow10-Oct-07 3:08 
AnswerRe: char pointer question Pin
Cedric Moonen10-Oct-07 3:13
Cedric Moonen10-Oct-07 3:13 
GeneralRe: char pointer question Pin
David Crow10-Oct-07 3:16
David Crow10-Oct-07 3:16 
GeneralRe: char pointer question Pin
Mark Salsbery10-Oct-07 5:42
Mark Salsbery10-Oct-07 5:42 
GeneralRe: char pointer question Pin
Cedric Moonen10-Oct-07 7:05
Cedric Moonen10-Oct-07 7:05 
GeneralRe: char pointer question Pin
Mark Salsbery10-Oct-07 7:06
Mark Salsbery10-Oct-07 7:06 
AnswerRe: char pointer question Pin
Yadrif10-Oct-07 3:17
Yadrif10-Oct-07 3:17 
GeneralRe: char pointer question Pin
DQNOK10-Oct-07 5:48
professionalDQNOK10-Oct-07 5:48 
I'm sorry no one here has taken the effort to give you a good reply. I also would like to know the answer.

I've never used syntax like 'AB' since I've always dealt with ASCII strings, and the single 'apostophe' returns the character (integer) value of a single character between the marks. I don't know what it does in your context, but appears that perhaps it's playing "little endian" and returning the least-significant byte of a 16-bit value???

Did you try declaring the pointer as a wchar_t* instead? This might work.

Maybe some real coders will see your question in a while and respond with a real answer.

David
GeneralRe: char pointer question Pin
Robert Surtees10-Oct-07 18:45
Robert Surtees10-Oct-07 18:45 
QuestionDificulty ifintegrating an old C++ code into Visual C++ Pin
taintransit10-Oct-07 2:40
taintransit10-Oct-07 2:40 
AnswerRe: Dificulty ifintegrating an old C++ code into Visual C++ Pin
Cedric Moonen10-Oct-07 2:50
Cedric Moonen10-Oct-07 2:50 
GeneralRe: Dificulty ifintegrating an old C++ code into Visual C++ [OT] Pin
David Crow10-Oct-07 3:11
David Crow10-Oct-07 3:11 
GeneralRe: Dificulty ifintegrating an old C++ code into Visual C++ [OT] Pin
Cedric Moonen10-Oct-07 3:14
Cedric Moonen10-Oct-07 3:14 
AnswerRe: Dificulty ifintegrating an old C++ code into Visual C++ Pin
James R. Twine10-Oct-07 2:51
James R. Twine10-Oct-07 2:51 
GeneralRe: Dificulty ifintegrating an old C++ code into Visual C++ Pin
taintransit10-Oct-07 4:56
taintransit10-Oct-07 4:56 
AnswerRe: Dificulty ifintegrating an old C++ code into Visual C++ Pin
David Crow10-Oct-07 3:15
David Crow10-Oct-07 3:15 
AnswerRe: Dificulty ifintegrating an old C++ code into Visual C++ Pin
jhwurmbach10-Oct-07 3:18
jhwurmbach10-Oct-07 3:18 
GeneralRe: Dificulty ifintegrating an old C++ code into Visual C++ Pin
taintransit10-Oct-07 5:06
taintransit10-Oct-07 5:06 
QuestionAdding an Extra control on Title bar Pin
s196675m10-Oct-07 2:18
s196675m10-Oct-07 2:18 
AnswerRe: Adding an Extra control on Title bar Pin
Nishad S10-Oct-07 2:40
Nishad S10-Oct-07 2:40 
Questionoutlook installed Pin
john563210-Oct-07 2:18
john563210-Oct-07 2:18 
AnswerRe: outlook installed Pin
chandu00410-Oct-07 2:54
chandu00410-Oct-07 2:54 
AnswerRe: outlook installed Pin
David Crow10-Oct-07 3:21
David Crow10-Oct-07 3:21 
QuestionHow to find function during debugging? Pin
Atul2310-Oct-07 2:09
Atul2310-Oct-07 2:09 
AnswerRe: How to find function during debugging? Pin
jhwurmbach10-Oct-07 2:38
jhwurmbach10-Oct-07 2:38 

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.