Click here to Skip to main content
15,923,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: string or int? Pin
led mike14-Sep-07 4:44
led mike14-Sep-07 4:44 
GeneralRe: string or int? Pin
VonHagNDaz14-Sep-07 4:53
VonHagNDaz14-Sep-07 4:53 
GeneralRe: string or int? Pin
David Crow14-Sep-07 4:23
David Crow14-Sep-07 4:23 
QuestionUnsure of reason for error. Pin
Chris Meech14-Sep-07 4:02
Chris Meech14-Sep-07 4:02 
AnswerRe: Unsure of reason for error. Pin
jhwurmbach14-Sep-07 4:07
jhwurmbach14-Sep-07 4:07 
GeneralRe: Unsure of reason for error. Pin
Chris Meech14-Sep-07 4:40
Chris Meech14-Sep-07 4:40 
GeneralRe: Unsure of reason for error. Pin
jhwurmbach14-Sep-07 4:46
jhwurmbach14-Sep-07 4:46 
AnswerRe: Unsure of reason for error. Pin
Mark Salsbery14-Sep-07 7:04
Mark Salsbery14-Sep-07 7:04 
You can't cast a CString to a LPCSTR in a unicode build.

You need to either use generics (LPCTSTR) or if the string MUST be non-unicode,
change the CString to a CStringA type.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Unsure of reason for error. Pin
Chris Meech14-Sep-07 7:29
Chris Meech14-Sep-07 7:29 
Questiondo you think you raelly know the difference of public and private? Pin
includeh1014-Sep-07 3:47
includeh1014-Sep-07 3:47 
QuestionRe: do you think you raelly know the difference of public and private? Pin
Nelek14-Sep-07 4:07
protectorNelek14-Sep-07 4:07 
QuestionRe: do you think you raelly know the difference of public and private? Pin
Maximilien14-Sep-07 4:10
Maximilien14-Sep-07 4:10 
AnswerRe: do you think you raelly know the difference of public and private? Pin
nbugalia14-Sep-07 4:34
nbugalia14-Sep-07 4:34 
AnswerRe: do you think you raelly know the difference of public and private? Pin
Russell'14-Sep-07 7:23
Russell'14-Sep-07 7:23 
GeneralRe: do you think you raelly know the difference of public and private? Pin
Nelek17-Sep-07 19:48
protectorNelek17-Sep-07 19:48 
GeneralRe: do you think you raelly know the difference of public and private? Pin
Russell'17-Sep-07 21:38
Russell'17-Sep-07 21:38 
QuestionGetting the following error Pin
Maynka14-Sep-07 3:11
Maynka14-Sep-07 3:11 
AnswerRe: Getting the following error Pin
jhwurmbach14-Sep-07 3:24
jhwurmbach14-Sep-07 3:24 
QuestionRe: Getting the following error Pin
Mark Salsbery14-Sep-07 7:08
Mark Salsbery14-Sep-07 7:08 
AnswerRe: Getting the following error Pin
David Crow14-Sep-07 9:16
David Crow14-Sep-07 9:16 
AnswerRe: Getting the following error Pin
Hamid_RT14-Sep-07 19:16
Hamid_RT14-Sep-07 19:16 
Questionhow to use image at button label Pin
Y_Kaushik14-Sep-07 2:20
Y_Kaushik14-Sep-07 2:20 
AnswerRe: how to use image at button label Pin
nbugalia14-Sep-07 2:54
nbugalia14-Sep-07 2:54 
AnswerRe: how to use image at button label Pin
David Crow14-Sep-07 2:54
David Crow14-Sep-07 2:54 
AnswerRe: how to use image at button label Pin
Hamid_RT14-Sep-07 19:17
Hamid_RT14-Sep-07 19:17 

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.