Link to home
Start Free TrialLog in
Avatar of RichJackson
RichJackson

asked on

DWORD to CSTRING

Hi,

Just making a stab at learning VC++. What's the way to convert a DWORD to CSTRING??

Cheers

Rich
Avatar of Axter
Axter
Flag of United States of America image

You can use the Format function.
Example:
DWORD anumber = 12345678;
CString mystring;
mystring.Format("%i",anumber);
Avatar of RichJackson
RichJackson

ASKER

Cheers, just what i wanted. THANKS
ASKER CERTIFIED SOLUTION
Avatar of Axter
Axter
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial