Will the difference between LPSTR LPCSTR LPCTSTR LPWSTR ?

Category: VC/MFC -> Foundation Classes Author: jide0623 Date: 2003-04-22 14:46:18
 
jide0623
2003-04-22 14:46:18
Will LPSTR   LPCSTR   LPCTSTR   LPWSTR difference between ?
dk45636
2003-04-22 14:58:47
LPSTR   ==   char *
LPCSTR   ==   const   char *
LPCTSTR   ==   const   char *   //   Not   defined   _UNICODE,   such   as   win9x
LPCTSTR   ==   const   wchar_t *   //   defined   _UNICODE,   such   as   win2k
LPWSTR   = =   wchar_t *
tanshichuan007
2003-04-22 15:11:16
LPCSTR       A   32-bit   pointer   to   a   constant   character  . string

LPSTR       A   32-bit   pointer   to   a   character  . string

LPCTSTR       A   32-bit   pointer   to   a   constant   character   string   that   is   portable   for   Unicode   and   DBCS

LPTSTR  .     A   32-bit   pointer   to   a   character   string   that   is   portable   for   Unicode   and  . DBCS
hr2731639
2003-04-22 15:13:28
MSDN check it , it says very detailed !
etsnet
2003-04-22 15:15:44
unicode
aa62725685
2003-04-22 15:29:47
more points give points !
a592a
2003-04-22 15:41:01
for a long time did not come here, I ask you to answer in why there are so many question marks ah
 ?? these question marks are how to generate the ah you see that? ? not also so ah
operating system is   windows   98   ie5.0
jiangiso
2003-04-22 15:46:55
and this is also a good check on your own