Click here to Skip to main content
16,012,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Some Dll problem. Pin
david bagaturia10-Apr-07 2:51
david bagaturia10-Apr-07 2:51 
GeneralRe: Some Dll problem. Pin
Hamid_RT10-Apr-07 7:42
Hamid_RT10-Apr-07 7:42 
QuestionInstall shield Pin
vimarsh puneet9-Apr-07 22:40
vimarsh puneet9-Apr-07 22:40 
AnswerRe: Install shield Pin
Michael Dunn10-Apr-07 6:10
sitebuilderMichael Dunn10-Apr-07 6:10 
AnswerRe: Install shield Pin
Hamid_RT10-Apr-07 7:38
Hamid_RT10-Apr-07 7:38 
Questionhexadecimal to char conversion...help?? Pin
Raza56809-Apr-07 22:32
Raza56809-Apr-07 22:32 
AnswerRe: hexadecimal to char conversion...help?? Pin
Roger Stoltz9-Apr-07 22:42
Roger Stoltz9-Apr-07 22:42 
AnswerRe: hexadecimal to char conversion...help?? Pin
CPallini9-Apr-07 22:45
mveCPallini9-Apr-07 22:45 
Raza5680 wrote:
my program reads data from serial port..the data is in hex format

Actually the data is (probably) binary. and what you (probably) need is its hexadecimal representation; each binary byte corrensponds to two hexadecimal characters that you can obtain, for instance, using sprintf:

unsigned char myBinaryValue=0x3F;
char sHexRepresentation[3];// include triling zero
sprintf(sHexRepresentation,"%x",myBinaryValue);

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.

AnswerRe: hexadecimal to char conversion...help?? Pin
John R. Shaw9-Apr-07 23:56
John R. Shaw9-Apr-07 23:56 
Questionfinding get and post variables in a script Pin
para para9-Apr-07 22:23
para para9-Apr-07 22:23 
Question2 Errors: 1. unresolved externals... Pin
Wamuti9-Apr-07 21:59
Wamuti9-Apr-07 21:59 
AnswerRe: 2 Errors: 1. unresolved externals... Pin
kanduripavan12-Apr-07 7:41
kanduripavan12-Apr-07 7:41 
QuestionmemDC monochrome Pin
baerten9-Apr-07 21:14
baerten9-Apr-07 21:14 
AnswerRe: memDC monochrome Pin
Michael Dunn9-Apr-07 22:01
sitebuilderMichael Dunn9-Apr-07 22:01 
GeneralRe: memDC monochrome Pin
baerten9-Apr-07 23:14
baerten9-Apr-07 23:14 
Question"linking Slider control to system volume" Pin
harsh_29619-Apr-07 20:53
harsh_29619-Apr-07 20:53 
AnswerRe: "linking Slider control to system volume" Pin
harsh_296110-Apr-07 0:55
harsh_296110-Apr-07 0:55 
GeneralRe: "linking Slider control to system volume" Pin
Rick York10-Apr-07 10:16
mveRick York10-Apr-07 10:16 
GeneralRe: "linking Slider control to system volume" Pin
harsh_296110-Apr-07 21:29
harsh_296110-Apr-07 21:29 
AnswerRe: "linking Slider control to system volume" Pin
David Crow10-Apr-07 2:25
David Crow10-Apr-07 2:25 
GeneralRe: "linking Slider control to system volume" Pin
harsh_296110-Apr-07 21:31
harsh_296110-Apr-07 21:31 
Questioncoding dialog box wizardless Pin
Wamuti9-Apr-07 20:40
Wamuti9-Apr-07 20:40 
AnswerRe: coding dialog box wizardless Pin
Hamid_RT9-Apr-07 20:48
Hamid_RT9-Apr-07 20:48 
AnswerRe: coding dialog box wizardless Pin
Hamid_RT9-Apr-07 23:57
Hamid_RT9-Apr-07 23:57 
QuestionRe: coding dialog box wizardless Pin
David Crow10-Apr-07 2:26
David Crow10-Apr-07 2: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.