_ttoi() family portable 32-bit and 64-bit
- From: "Eric" <clement.eric@xxxxxxxxx>
- Date: 24 Oct 2006 10:20:18 -0700
Hi,
Is there a more cute way to use the string conversion functions then
this :
CString szCategories;
....
#if defined(WIN64)
INT_PTR nCategories = _ttoi64(szCategories)
#else
int nCategories = _ttoi(szCategories)
#endif
Is there a function like this exist _ttoi_ptr() ?
Regards,
Eric
.
- Follow-Ups:
- Re: _ttoi() family portable 32-bit and 64-bit
- From: Alex Blekhman
- Re: _ttoi() family portable 32-bit and 64-bit
- Prev by Date: Re: One spin control works, one doesn't!!!
- Next by Date: Re: C++ with VS.NET and Twilight of the Microsoft Era
- Previous by thread: syntax error in INSERT INTO statement
- Next by thread: Re: _ttoi() family portable 32-bit and 64-bit
- Index(es):