PC Review


Reply
Thread Tools Rate Thread

an amazingly simple question

 
 
edward
Guest
Posts: n/a
 
      10th Dec 2003
i know this is going to be extremely basic, but I just can't seem to find
how to do this. How do I take a single number that is in a CString, and
convert it to a DWORD so I can do path. For example, take the CString
_T("57") and get a DWORD with a value of 57.

thanks,
edward


 
Reply With Quote
 
 
 
 
LiquidJ
Guest
Posts: n/a
 
      10th Dec 2003
Use _ttoi(), _ttol(), etc.

Of course, this works for integral values only.


{L}



"edward" <(E-Mail Removed)> wrote in message
news%LBb.430051$(E-Mail Removed)...
> i know this is going to be extremely basic, but I just can't seem to find
> how to do this. How do I take a single number that is in a CString, and
> convert it to a DWORD so I can do path. For example, take the CString
> _T("57") and get a DWORD with a value of 57.
>
> thanks,
> edward
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro is amazingly SLOW...Need help anshu Microsoft Excel Misc 7 16th Jul 2007 01:03 PM
I'm still having amazingly slow boot times with vista... why!?? =?Utf-8?B?TGVhZmVyMTc=?= Windows Vista General Discussion 4 5th Apr 2007 04:00 AM
Re: Simply Amazing - Amazingly Simple! 1664 *SPAM* John Corliss Freeware 2 30th Jul 2006 01:21 PM
Amazingly Simple Home Remedies Quadophile General Discussion 6 15th Mar 2005 02:39 PM
Amazingly Slow IE6 Mike Windows XP Internet Explorer 2 15th Aug 2003 02:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:54 AM.