Click here to Skip to main content
15,915,509 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: LoadString Failure Pin
Jijo.Raj3-Jun-08 9:10
Jijo.Raj3-Jun-08 9:10 
AnswerRe: LoadString Failure Pin
kasi143-Jun-08 9:25
kasi143-Jun-08 9:25 
QuestionRe: LoadString Failure Pin
David Crow3-Jun-08 10:08
David Crow3-Jun-08 10:08 
QuestionCancel Print Jobs Pin
zoiomon3-Jun-08 8:32
zoiomon3-Jun-08 8:32 
QuestionCasting of _bstr_t to CString Pin
SimplySane3-Jun-08 5:01
SimplySane3-Jun-08 5:01 
AnswerRe: Casting of _bstr_t to CString Pin
toxcct3-Jun-08 5:11
toxcct3-Jun-08 5:11 
AnswerRe: Casting of _bstr_t to CString Pin
sudhir_Kumar3-Jun-08 5:17
sudhir_Kumar3-Jun-08 5:17 
GeneralRe: Casting of _bstr_t to CString Pin
toxcct3-Jun-08 5:29
toxcct3-Jun-08 5:29 
you code is not consistent. W2A() gets only one parameter, which is the string to cast.

also GetBuffer() is in its good use here (rarely goodly used, to it's important to notice it !) but it's not necessary. prefer using the CString::operator=() instead, and don't use W2A() but T2A() if the source is unicode independent (otherwise, it's your _b_str construction which shouldn't use _T())


GeneralRe: Casting of _bstr_t to CString Pin
ThatsAlok4-Jun-08 1:02
ThatsAlok4-Jun-08 1:02 
AnswerRe: Casting of _bstr_t to CString PinPopular
David Crow3-Jun-08 6:48
David Crow3-Jun-08 6:48 
GeneralRe: Casting of _bstr_t to CString Pin
CPallini3-Jun-08 7:49
mveCPallini3-Jun-08 7:49 
AnswerRe: Casting of _bstr_t to CString Pin
Akt_4_U3-Jun-08 18:06
Akt_4_U3-Jun-08 18:06 
GeneralRe: Casting of _bstr_t to CString Pin
ThatsAlok4-Jun-08 1:06
ThatsAlok4-Jun-08 1:06 
AnswerRe: Casting of _bstr_t to CString Pin
Mahesh Kulkarni3-Jun-08 20:57
Mahesh Kulkarni3-Jun-08 20:57 
AnswerRe: Casting of _bstr_t to CString Pin
SimplySane4-Jun-08 17:19
SimplySane4-Jun-08 17:19 
AnswerRe: Casting of _bstr_t to CString Pin
ThatsAlok4-Jun-08 1:01
ThatsAlok4-Jun-08 1:01 
QuestionEXECUTE code 1 after the other only Pin
Trupti Mehta3-Jun-08 4:59
Trupti Mehta3-Jun-08 4:59 
AnswerRe: EXECUTE code 1 after the other only Pin
David Crow3-Jun-08 5:01
David Crow3-Jun-08 5:01 
AnswerRe: EXECUTE code 1 after the other only Pin
sudhir_Kumar3-Jun-08 5:19
sudhir_Kumar3-Jun-08 5:19 
AnswerRe: EXECUTE code 1 after the other only Pin
JudyL_MD3-Jun-08 6:43
JudyL_MD3-Jun-08 6:43 
QuestionRe: EXECUTE code 1 after the other only Pin
David Crow3-Jun-08 6:49
David Crow3-Jun-08 6:49 
GeneralRe: EXECUTE code 1 after the other only Pin
JudyL_MD3-Jun-08 6:53
JudyL_MD3-Jun-08 6:53 
GeneralRe: EXECUTE code 1 after the other only Pin
Trupti Mehta3-Jun-08 21:18
Trupti Mehta3-Jun-08 21:18 
GeneralRe: EXECUTE code 1 after the other only Pin
JudyL_MD4-Jun-08 3:00
JudyL_MD4-Jun-08 3:00 
GeneralRe: EXECUTE code 1 after the other only Pin
Trupti Mehta4-Jun-08 4:14
Trupti Mehta4-Jun-08 4:14 

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.