Click here to Skip to main content
15,914,820 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LPTSTR, LPCTSTR, CString and others... Pin
Toni7815-Jul-04 9:40
Toni7815-Jul-04 9:40 
GeneralRe: LPTSTR, LPCTSTR, CString and others... Pin
Adam Durity15-Jul-04 9:49
Adam Durity15-Jul-04 9:49 
GeneralRe: LPTSTR, LPCTSTR, CString and others... Pin
Antti Keskinen15-Jul-04 9:53
Antti Keskinen15-Jul-04 9:53 
GeneralRe: LPTSTR, LPCTSTR, CString and others... Pin
Kaleb Pederson15-Jul-04 11:25
Kaleb Pederson15-Jul-04 11:25 
GeneralRe: LPTSTR, LPCTSTR, CString and others... Pin
Antti Keskinen15-Jul-04 11:50
Antti Keskinen15-Jul-04 11:50 
GeneralRe: LPTSTR, LPCTSTR, CString and others... Pin
PJ Arends15-Jul-04 17:14
professionalPJ Arends15-Jul-04 17:14 
GeneralRe: LPTSTR, LPCTSTR, CString and others... Pin
Mike Dimmick15-Jul-04 9:58
Mike Dimmick15-Jul-04 9:58 
GeneralRe: LPTSTR, LPCTSTR, CString and others... Pin
digwizfox15-Jul-04 11:07
digwizfox15-Jul-04 11:07 
Thanks, those articles are really interesting. I learned a lot of this stuff the hard way using the MSDN documentation which is pretty good but you really have to search and easily get caught going in circles trying to understand it. You're explanation was the best out of what I read of the responses to the original question. In the MSDN they have some nice charts that show how the typedefs and C run time functions map, depending on whether _UNICODE is defined. Do a search on TCHAR in the MSDN libary index and you'll see links to the mapping charts there and will probably find many other wild goose chases that will contain a wealth of info on the concept of the TCHAR family. Not only are there many data type mappings but there is a whole family of mappings for the C run time string functions as well. The whole purpose is to support character set neutral code, which is something else you'll learn about in the MSDN documentation.
Generalabt running exe Pin
jass198115-Jul-04 9:20
sussjass198115-Jul-04 9:20 
GeneralRe: abt running exe Pin
Toni7815-Jul-04 9:42
Toni7815-Jul-04 9:42 
GeneralRe: abt running exe Pin
PJ Arends15-Jul-04 9:47
professionalPJ Arends15-Jul-04 9:47 
GeneralRe: abt running exe Pin
Paul Steane16-Jul-04 1:33
Paul Steane16-Jul-04 1:33 
GeneralIJolietDiscMaster & Joliet & Invalid Naming Convention Pin
epxhi15-Jul-04 9:10
epxhi15-Jul-04 9:10 
GeneralDumb loop question. Pin
RobJones15-Jul-04 9:03
RobJones15-Jul-04 9:03 
GeneralRe: Dumb loop question. Pin
palbano15-Jul-04 9:19
palbano15-Jul-04 9:19 
GeneralRe: Dumb loop question. Pin
RobJones15-Jul-04 9:24
RobJones15-Jul-04 9:24 
GeneralRe: Dumb loop question. Pin
palbano15-Jul-04 9:30
palbano15-Jul-04 9:30 
GeneralRe: Dumb loop question. Pin
RobJones15-Jul-04 9:50
RobJones15-Jul-04 9:50 
GeneralRe: Dumb loop question. Pin
palbano15-Jul-04 17:54
palbano15-Jul-04 17:54 
Generaltypedef Pin
Adam Durity15-Jul-04 8:31
Adam Durity15-Jul-04 8:31 
GeneralRe: typedef Pin
Maximilien15-Jul-04 8:35
Maximilien15-Jul-04 8:35 
GeneralASCII strings from file Pin
Oriocat15-Jul-04 8:24
Oriocat15-Jul-04 8:24 
GeneralRe: ASCII strings from file Pin
Antti Keskinen15-Jul-04 9:28
Antti Keskinen15-Jul-04 9:28 
GeneralUser WM messages Pin
0v3rloader15-Jul-04 7:07
0v3rloader15-Jul-04 7:07 
GeneralRe: User WM messages Pin
vcplusplus15-Jul-04 7:16
vcplusplus15-Jul-04 7:16 

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.