Click here to Skip to main content
15,892,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHextoCString conversion Pin
S p k 5216-Jan-11 19:58
S p k 5216-Jan-11 19:58 
AnswerRe: HextoCString conversion Pin
ShilpiP6-Jan-11 20:41
ShilpiP6-Jan-11 20:41 
AnswerRe: HextoCString conversion Pin
Richard MacCutchan6-Jan-11 21:42
mveRichard MacCutchan6-Jan-11 21:42 
GeneralRe: HextoCString conversion Pin
S p k 5216-Jan-11 22:27
S p k 5216-Jan-11 22:27 
GeneralRe: HextoCString conversion Pin
Satheesh15466-Jan-11 22:45
Satheesh15466-Jan-11 22:45 
GeneralRe: HextoCString conversion Pin
S p k 5216-Jan-11 22:47
S p k 5216-Jan-11 22:47 
GeneralRe: HextoCString conversion Pin
Richard MacCutchan7-Jan-11 0:19
mveRichard MacCutchan7-Jan-11 0:19 
GeneralRe: HextoCString conversion Pin
Cool_Dev6-Jan-11 23:32
Cool_Dev6-Jan-11 23:32 
in addition to his above example, if your hex is in some int type variable, you may try this also,

int k = 0x3739;
CString out;
while(k > 0) {
  out += (char)k % 0x100;
  k /= 0x100;
}
strrev(out.GetBuffer(0));
cout <<(LPCTSTR)out <<endl;

QuestionRe: HextoCString conversion Pin
David Crow7-Jan-11 4:15
David Crow7-Jan-11 4:15 
AnswerRe: HextoCString conversion Pin
Nuri Ismail6-Jan-11 22:55
Nuri Ismail6-Jan-11 22:55 
GeneralRe: HextoCString conversion Pin
S p k 5217-Jan-11 1:01
S p k 5217-Jan-11 1:01 
QuestionActiveX Component use 2D graph? Pin
mathivanaan6-Jan-11 17:40
mathivanaan6-Jan-11 17:40 
AnswerRe: ActiveX Component use 2D graph? Pin
_AnsHUMAN_ 6-Jan-11 18:09
_AnsHUMAN_ 6-Jan-11 18:09 
QuestionOne-click close inactive child modeless dialog Pin
Tadeusz Westawic6-Jan-11 1:28
Tadeusz Westawic6-Jan-11 1:28 
QuestionJPEG Image to an array format Pin
raju_shiva6-Jan-11 0:38
raju_shiva6-Jan-11 0:38 
AnswerRe: JPEG Image to an array format Pin
User 74293386-Jan-11 1:03
professionalUser 74293386-Jan-11 1:03 
AnswerRe: JPEG Image to an array format Pin
Cool_Dev6-Jan-11 3:21
Cool_Dev6-Jan-11 3:21 
AnswerRe: JPEG Image to an array format Pin
Arman S.6-Jan-11 9:44
Arman S.6-Jan-11 9:44 
AnswerRe: JPEG Image to an array format Pin
Paresh Chitte6-Jan-11 18:42
Paresh Chitte6-Jan-11 18:42 
AnswerRe: JPEG Image to an array format Pin
Chris Losinger7-Jan-11 5:51
professionalChris Losinger7-Jan-11 5:51 
QuestionCustom window title bar => system buttons stuffed [modified] Pin
Leif Goodwin5-Jan-11 22:07
Leif Goodwin5-Jan-11 22:07 
GeneralRe: Custom window title bar => system buttons stuffed Pin
Code-o-mat5-Jan-11 23:05
Code-o-mat5-Jan-11 23:05 
GeneralRe: Custom window title bar => system buttons stuffed Pin
Leif Goodwin5-Jan-11 23:20
Leif Goodwin5-Jan-11 23:20 
QuestionChange Menu Text Pin
john56325-Jan-11 21:04
john56325-Jan-11 21:04 
AnswerRe: Change Menu Text Pin
Richard MacCutchan5-Jan-11 21:33
mveRichard MacCutchan5-Jan-11 21:33 

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.