Re: LPCTSTR to std::string
- From: Eberhard Schefold <ebab@xxxxxx>
- Date: Sat, 30 Sep 2006 21:05:59 +0200
Abdo Haji-Ali wrote:
BTW, I haven't tried it, but you can do something like
#ifdef UNICODE
#define tstring std::wstring
#else
#define tstring std::string
#endif
Personally, I prefer
#define tstring std::basic_string< TCHAR >
Does in effect the same.
.
- Follow-Ups:
- Re: LPCTSTR to std::string
- From: Alex Blekhman
- Re: LPCTSTR to std::string
- References:
- LPCTSTR to std::string
- From: Jacky Luk
- Re: LPCTSTR to std::string
- From: Abdo Haji-Ali
- Re: LPCTSTR to std::string
- From: Jacky Luk
- Re: LPCTSTR to std::string
- From: Abdo Haji-Ali
- LPCTSTR to std::string
- Prev by Date: Re: DLL function loading issue
- Next by Date: function in DLL
- Previous by thread: Re: LPCTSTR to std::string
- Next by thread: Re: LPCTSTR to std::string
- Index(es):
Relevant Pages
|