Why does _bstr_t turn LPWSTR successful , turn LPSTR not succeed ?

Category: VC/MFC -> Foundation Classes Author: book_amanzsl Date: 2007-11-23 10:03:39
 
book_amanzsl
2007-11-23 10:03:39
LPSTR   stra   =   _bstr_t (" 1234 ");   // stra garbled
LPWSTR   strw   =   _bstr_t (" 1234 ");   // strw correct

the strange thing is I'm still under ansi engineering
conan_100
2007-11-23 10:10:24
debug this problem step by step to go to know
sxdw5678
2007-11-23 10:25:02
to see description
_bstr_t of
cnjqg
2007-11-23 10:33:12
_bstr_t (CString) on it
huangkx11
2007-11-23 10:39:49
also look unclear on Baidu Encyclopedia , time is better to go to msdn.
eventually might as well do some examples measuring about knot stickers