Click here to Skip to main content
15,911,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Extracting array of POINTs from a CRgn [modified] Pin
Perisic, Aleksandar6-Mar-09 5:50
Perisic, Aleksandar6-Mar-09 5:50 
GeneralRe: Extracting array of POINTs from a CRgn Pin
Jonnie White6-Mar-09 6:46
Jonnie White6-Mar-09 6:46 
GeneralRe: Extracting array of POINTs from a CRgn Pin
Perisic, Aleksandar6-Mar-09 6:54
Perisic, Aleksandar6-Mar-09 6:54 
AnswerRe: Extracting array of POINTs from a CRgn Pin
Jonathan Davies6-Mar-09 6:00
Jonathan Davies6-Mar-09 6:00 
GeneralRe: Extracting array of POINTs from a CRgn Pin
Jonnie White6-Mar-09 6:58
Jonnie White6-Mar-09 6:58 
AnswerRe: Extracting array of POINTs from a CRgn Pin
Stuart Dootson6-Mar-09 12:59
professionalStuart Dootson6-Mar-09 12:59 
QuestionCString to a hex Pin
AnithaSubramani6-Mar-09 2:14
AnithaSubramani6-Mar-09 2:14 
AnswerRe: CString to a hex Pin
Cedric Moonen6-Mar-09 2:24
Cedric Moonen6-Mar-09 2:24 
AnithaSubramani wrote:
Does anyone know how to convert a CString to a hex and convert the hex values to integer.


This doesn't make a lot of sense. From what I understood from your example, you have a string representing an hexadecimal number and you want to convert that string into an integer, is that right ?
For that you can use the _tcstol funcion (see here[^]) with 16 as the base.
PS: you should use the _tcstol version in order to support both UNICODE and non-UNICODE builds.

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

GeneralRe: CString to a hex Pin
Nishad S6-Mar-09 2:33
Nishad S6-Mar-09 2:33 
GeneralRe: CString to a hex Pin
Cedric Moonen6-Mar-09 2:36
Cedric Moonen6-Mar-09 2:36 
GeneralRe: CString to a hex Pin
Eytukan6-Mar-09 2:44
Eytukan6-Mar-09 2:44 
AnswerRe: CString to a hex Pin
Akt_4_U6-Mar-09 2:30
Akt_4_U6-Mar-09 2:30 
AnswerRe: CString to a hex Pin
CPallini6-Mar-09 2:53
mveCPallini6-Mar-09 2:53 
AnswerRe: CString to a hex Pin
David Crow6-Mar-09 2:58
David Crow6-Mar-09 2:58 
QuestionFunction Address of CWinthread::Create Pin
ForNow6-Mar-09 1:33
ForNow6-Mar-09 1:33 
AnswerRe: Function Address of CWinthread::Create Pin
CPallini6-Mar-09 1:54
mveCPallini6-Mar-09 1:54 
GeneralRe: Function Address of CWinthread::Create Pin
ForNow6-Mar-09 6:32
ForNow6-Mar-09 6:32 
AnswerRe: Function Address of CWinthread::Create Pin
Akt_4_U6-Mar-09 2:06
Akt_4_U6-Mar-09 2:06 
GeneralRe: Function Address of CWinthread::Create Pin
ForNow8-Mar-09 15:02
ForNow8-Mar-09 15:02 
GeneralRe: Function Address of CWinthread::Create Pin
ForNow8-Mar-09 22:07
ForNow8-Mar-09 22:07 
AnswerRe: Function Address of CWinthread::Create Pin
Nishad S6-Mar-09 2:08
Nishad S6-Mar-09 2:08 
GeneralRe: Function Address of CWinthread::Create Pin
ForNow6-Mar-09 6:31
ForNow6-Mar-09 6:31 
QuestionRe: Function Address of CWinthread::Create Pin
Eytukan6-Mar-09 2:38
Eytukan6-Mar-09 2:38 
AnswerRe: Function Address of CWinthread::Create Pin
ForNow6-Mar-09 6:31
ForNow6-Mar-09 6:31 
Questionabout my career! Pin
Archy_Yu6-Mar-09 1:29
Archy_Yu6-Mar-09 1:29 

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.