Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: char[] to cstring Pin
Member 227165530-Jan-06 23:59
Member 227165530-Jan-06 23:59 
GeneralRe: char[] to cstring Pin
Owner drawn31-Jan-06 0:01
Owner drawn31-Jan-06 0:01 
GeneralRe: char[] to cstring Pin
Member 227165531-Jan-06 0:32
Member 227165531-Jan-06 0:32 
QuestionGetting Hex value from Edit box ? Pin
kk_vp30-Jan-06 23:09
kk_vp30-Jan-06 23:09 
AnswerRe: Getting Hex value from Edit box ? Pin
Owner drawn30-Jan-06 23:13
Owner drawn30-Jan-06 23:13 
GeneralRe: Getting Hex value from Edit box ? Pin
kk_vp30-Jan-06 23:34
kk_vp30-Jan-06 23:34 
GeneralRe: Getting Hex value from Edit box ? Pin
Owner drawn30-Jan-06 23:38
Owner drawn30-Jan-06 23:38 
GeneralRe: Getting Hex value from Edit box ? Pin
kk_vp30-Jan-06 23:44
kk_vp30-Jan-06 23:44 
GeneralRe: Getting Hex value from Edit box ? Pin
Owner drawn30-Jan-06 23:54
Owner drawn30-Jan-06 23:54 
GeneralRe: Getting Hex value from Edit box ? Pin
kk_vp31-Jan-06 0:11
kk_vp31-Jan-06 0:11 
GeneralRe: Getting Hex value from Edit box ? Pin
Owner drawn31-Jan-06 0:14
Owner drawn31-Jan-06 0:14 
QuestionRe: Getting Hex value from Edit box ? Pin
David Crow31-Jan-06 4:06
David Crow31-Jan-06 4:06 
AnswerRe: Getting Hex value from Edit box ? Pin
toxcct31-Jan-06 0:34
toxcct31-Jan-06 0:34 
JokeRe: Getting Hex value from Edit box ? Pin
Owner drawn31-Jan-06 1:07
Owner drawn31-Jan-06 1:07 
GeneralRe: Getting Hex value from Edit box ? Pin
toxcct31-Jan-06 2:09
toxcct31-Jan-06 2:09 
GeneralRe: Getting Hex value from Edit box ? Pin
Eytukan31-Jan-06 3:11
Eytukan31-Jan-06 3:11 
GeneralRe: Getting Hex value from Edit box ? Pin
Owner drawn31-Jan-06 16:43
Owner drawn31-Jan-06 16:43 
AnswerRe: Getting Hex value from Edit box ? Pin
sheshidar31-Jan-06 7:20
sheshidar31-Jan-06 7:20 
AnswerRe: Getting Hex value from Edit box ? Pin
sheshidar31-Jan-06 9:56
sheshidar31-Jan-06 9:56 
GeneralRe: Getting Hex value from Edit box ? Pin
kk_vp9-Feb-06 22:41
kk_vp9-Feb-06 22:41 
hi all,
sorry for this late reply. got in to something else.
I got it working.

the input required from edit box is hex value.
since this has a , b etc a value of type int does not work.
so as mentioned by one of you, I used value type string.
and then converted string to hex value using
sscanf(temp,"%x",&value);

now value has hex what ever user entered.

I still have a problem.

I need a 6 byte hex number from user in some cases.

so the 'value' is UCHAR[6] for that case.
for such big values, this is not working. I get some junk values after conversion.

Another thing,
I usually use messagebox to check intermediate values. but with CHAR[6] containing a hex value how do I make it to string and pass to mesagebox..

I hope I am clear and I'll get some help.


- KK
QuestionGetting the mime / content type of an http document Pin
Jagadeesh VN30-Jan-06 23:01
Jagadeesh VN30-Jan-06 23:01 
AnswerRe: Getting the mime / content type of an http document Pin
Stephen Hewitt30-Jan-06 23:17
Stephen Hewitt30-Jan-06 23:17 
GeneralRe: Getting the mime / content type of an http document Pin
Jagadeesh VN31-Jan-06 20:23
Jagadeesh VN31-Jan-06 20:23 
QuestionHook file access Pin
Tschieses30-Jan-06 22:37
Tschieses30-Jan-06 22:37 
AnswerRe: Hook file access Pin
Stephen Hewitt30-Jan-06 22:52
Stephen Hewitt30-Jan-06 22:52 

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.