Click here to Skip to main content
15,888,286 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to realize scrolling text? Pin
Chandrasekharan P8-Jun-09 19:51
Chandrasekharan P8-Jun-09 19:51 
QuestionCWaitCursor changes back to normal cursor on mouse move event Pin
ptr_Electron8-Jun-09 19:33
ptr_Electron8-Jun-09 19:33 
AnswerRe: CWaitCursor changes back to normal cursor on mouse move event Pin
Chandrasekharan P8-Jun-09 19:48
Chandrasekharan P8-Jun-09 19:48 
GeneralRe: CWaitCursor changes back to normal cursor on mouse move event Pin
ptr_Electron8-Jun-09 22:59
ptr_Electron8-Jun-09 22:59 
AnswerRe: CWaitCursor changes back to normal cursor on mouse move event Pin
Nibu babu thomas8-Jun-09 20:17
Nibu babu thomas8-Jun-09 20:17 
AnswerRe: CWaitCursor changes back to normal cursor on mouse move event Pin
David Crow9-Jun-09 3:35
David Crow9-Jun-09 3:35 
QuestionHex string stream to Binary string Pin
RS.Ratheesh8-Jun-09 19:26
RS.Ratheesh8-Jun-09 19:26 
QuestionRe: Hex string stream to Binary string [modified] Pin
CPallini8-Jun-09 21:26
mveCPallini8-Jun-09 21:26 
Since your string is well formatted, it's pretty simple, for instance
char szHex[] = "C1 E1 08 0F B6 C0 0B";
const unsigned int SIZE = sizeof(szHex)/sizeof(szHex[0]) / 3;
unsigned char pBinary[SIZE];
for (int i=0; i<SIZE; i++)
{
  if ( sscanf(szHex + 3 * i, "%2X", pBinary+i) != 1) break;
}

However, I see the result you're expecting is quite different. How can, for instance, you map 0xC1 to 'V'?
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

modified on Tuesday, June 9, 2009 3:32 AM

AnswerRe: Hex string stream to Binary string Pin
RS.Ratheesh8-Jun-09 22:32
RS.Ratheesh8-Jun-09 22:32 
QuestionRe: Hex string stream to Binary string Pin
David Crow9-Jun-09 3:38
David Crow9-Jun-09 3:38 
Question[help]detect the status of iis server Pin
rahuljin8-Jun-09 18:59
rahuljin8-Jun-09 18:59 
QuestionRe: [help]detect the status of iis server Pin
David Crow9-Jun-09 3:39
David Crow9-Jun-09 3:39 
AnswerRe: [help]detect the status of iis server Pin
rahuljin9-Jun-09 8:50
rahuljin9-Jun-09 8:50 
GeneralRe: [help]detect the status of iis server Pin
David Crow9-Jun-09 9:23
David Crow9-Jun-09 9:23 
GeneralRe: [help]detect the status of iis server Pin
rahuljin9-Jun-09 10:38
rahuljin9-Jun-09 10:38 
GeneralRe: [help]detect the status of iis server Pin
David Crow10-Jun-09 3:43
David Crow10-Jun-09 3:43 
GeneralRe: [help]detect the status of iis server Pin
rahuljin12-Jun-09 1:46
rahuljin12-Jun-09 1:46 
GeneralRe: [help]detect the status of iis server Pin
David Crow12-Jun-09 3:06
David Crow12-Jun-09 3:06 
GeneralRe: [help]detect the status of iis server [modified] Pin
rahuljin12-Jun-09 4:35
rahuljin12-Jun-09 4:35 
QuestionRe: [help]detect the status of iis server Pin
David Crow13-Jun-09 12:41
David Crow13-Jun-09 12:41 
AnswerRe: [help]detect the status of iis server [modified] Pin
rahuljin13-Jun-09 20:42
rahuljin13-Jun-09 20:42 
QuestionRe: [help]detect the status of iis server Pin
David Crow14-Jun-09 10:03
David Crow14-Jun-09 10:03 
AnswerRe: [help]detect the status of iis server Pin
rahuljin14-Jun-09 11:19
rahuljin14-Jun-09 11:19 
AnswerRe: [help]detect the status of iis server Pin
David Crow15-Jun-09 3:57
David Crow15-Jun-09 3:57 
GeneralRe: [help]detect the status of iis server [modified] Pin
rahuljin15-Jun-09 5:26
rahuljin15-Jun-09 5:26 

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.