Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalunsigned long to string Pin
Caoimh16-Mar-04 0:17
Caoimh16-Mar-04 0:17 
GeneralRe: unsigned long to string Pin
jmkhael16-Mar-04 0:29
jmkhael16-Mar-04 0:29 
GeneralRe: unsigned long to string Pin
Caoimh16-Mar-04 0:32
Caoimh16-Mar-04 0:32 
GeneralRe: unsigned long to string Pin
jmkhael16-Mar-04 0:35
jmkhael16-Mar-04 0:35 
GeneralRe: unsigned long to string Pin
Roger Allen16-Mar-04 4:02
Roger Allen16-Mar-04 4:02 
GeneralRe: unsigned long to string Pin
Prakash Nadar16-Mar-04 0:31
Prakash Nadar16-Mar-04 0:31 
GeneralRe: unsigned long to string Pin
Caoimh16-Mar-04 0:45
Caoimh16-Mar-04 0:45 
GeneralRe: unsigned long to string Pin
Rory Solley16-Mar-04 0:33
Rory Solley16-Mar-04 0:33 
You could use the standard library:

unsigned long cnt = 0xFFFF0000;
TCHAR tszString[16]; // Arbitrary size
_stprintf(tszString, _T("%8.8X"), cnt);

Sorry, just read your CString post:

CString strString;
strString.Format(_T("%8.8X"), cnt);
GeneralDBase File Pin
Rassul Yunussov16-Mar-04 0:03
Rassul Yunussov16-Mar-04 0:03 
GeneralRe: DBase File Pin
Antti Keskinen16-Mar-04 0:42
Antti Keskinen16-Mar-04 0:42 
GeneralRe: DBase File Pin
basementman16-Mar-04 4:10
basementman16-Mar-04 4:10 
GeneralI have tried everyThing... Pin
Pazzuzu15-Mar-04 23:55
Pazzuzu15-Mar-04 23:55 
Generalincorporate DLL into software exe Pin
ppp00115-Mar-04 23:53
ppp00115-Mar-04 23:53 
GeneralRe: incorporate DLL into software exe Pin
Prakash Nadar16-Mar-04 0:29
Prakash Nadar16-Mar-04 0:29 
GeneralRe: incorporate DLL into software exe Pin
GuimaSun16-Mar-04 4:04
GuimaSun16-Mar-04 4:04 
GeneralRe: incorporate DLL into software exe Pin
Roger Allen16-Mar-04 4:05
Roger Allen16-Mar-04 4:05 
GeneralRe: incorporate DLL into software exe Pin
basementman16-Mar-04 4:13
basementman16-Mar-04 4:13 
GeneralWindow Installer for VC++ 6.0 software Pin
ppp00115-Mar-04 23:47
ppp00115-Mar-04 23:47 
GeneralRe: Window Installer for VC++ 6.0 software Pin
Mehdi_Hosseinpour16-Mar-04 0:12
Mehdi_Hosseinpour16-Mar-04 0:12 
GeneralRe: Window Installer for VC++ 6.0 software Pin
Andy C16-Mar-04 0:33
Andy C16-Mar-04 0:33 
GeneralRe: Window Installer for VC++ 6.0 software Pin
MeterMan16-Mar-04 17:30
MeterMan16-Mar-04 17:30 
Generalplaying raw file in c program Pin
shiva shankar15-Mar-04 23:44
shiva shankar15-Mar-04 23:44 
GeneralRe: playing raw file in c program Pin
Prakash Nadar16-Mar-04 0:18
Prakash Nadar16-Mar-04 0:18 
GeneralRe: playing raw file in c program Pin
Anonymous17-Mar-04 17:49
Anonymous17-Mar-04 17:49 
GeneralRe: playing raw file in c program Pin
David Crow16-Mar-04 2:35
David Crow16-Mar-04 2:35 

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.