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

C / C++ / MFC

 
AnswerRe: how to move from CDatabase to CDoaDatabase? Pin
Mark Salsbery15-Dec-06 5:10
Mark Salsbery15-Dec-06 5:10 
GeneralRe: how to move from CDatabase to CDoaDatabase? Pin
bitkidoku15-Dec-06 22:03
bitkidoku15-Dec-06 22:03 
QuestionPlaying audio with AVIFile API. Pin
10011000100101101000015-Dec-06 4:17
10011000100101101000015-Dec-06 4:17 
QuestionResume and suspend thread Pin
RockyJames15-Dec-06 4:07
RockyJames15-Dec-06 4:07 
AnswerRe: Resume and suspend thread Pin
Mark Salsbery15-Dec-06 5:20
Mark Salsbery15-Dec-06 5:20 
GeneralRe: Resume and suspend thread Pin
RockyJames15-Dec-06 17:54
RockyJames15-Dec-06 17:54 
GeneralRe: Resume and suspend thread Pin
Mark Salsbery16-Dec-06 10:21
Mark Salsbery16-Dec-06 10:21 
QuestionCString::Format - Debug vs Release Pin
Dustin Henry15-Dec-06 4:04
Dustin Henry15-Dec-06 4:04 
I have a program that uses at least 50 calls to the CString::Format function. The problem comes when I change from Debug to Release mode and try to compile. In Release mode, the function expects a 'const wchar_t *' and in Debug a 'const char *'. I know that you can use the 'L' macro to make a literal string a 'const wchar_t *', but then it doesn't work when I switch back to Debug.

Is there a way to get around this or do I just have to save my release compilation until the very end and add the 'L' macro to all of these functions? Also, does anybody know the reason Microsoft did this?

Thanks,
Dustin
AnswerRe: CString::Format - Debug vs Release Pin
kakan15-Dec-06 4:12
professionalkakan15-Dec-06 4:12 
GeneralRe: CString::Format - Debug vs Release Pin
Dustin Henry15-Dec-06 4:15
Dustin Henry15-Dec-06 4:15 
GeneralRe: CString::Format - Debug vs Release Pin
kakan15-Dec-06 4:20
professionalkakan15-Dec-06 4:20 
QuestionRe: CString::Format - Debug vs Release Pin
CPallini15-Dec-06 4:13
mveCPallini15-Dec-06 4:13 
AnswerRe: CString::Format - Debug vs Release Pin
Dustin Henry15-Dec-06 4:16
Dustin Henry15-Dec-06 4:16 
AnswerRe: CString::Format - Debug vs Release Pin
Mike O'Neill15-Dec-06 10:45
Mike O'Neill15-Dec-06 10:45 
GeneralRe: CString::Format - Debug vs Release Pin
d34studios16-Dec-06 4:27
d34studios16-Dec-06 4:27 
Questionhow to keep data persistance into controls? Pin
Arris7415-Dec-06 4:01
Arris7415-Dec-06 4:01 
AnswerRe: how to keep data persistance into controls? Pin
Chris Losinger15-Dec-06 4:19
professionalChris Losinger15-Dec-06 4:19 
GeneralRe: how to keep data persistance into controls? Pin
Arris7417-Dec-06 22:07
Arris7417-Dec-06 22:07 
AnswerRe: how to keep data persistance into controls? Pin
Hamid_RT15-Dec-06 18:19
Hamid_RT15-Dec-06 18:19 
GeneralRe: how to keep data persistance into controls? Pin
Arris7417-Dec-06 22:09
Arris7417-Dec-06 22:09 
GeneralRe: how to keep data persistance into controls? Pin
Hamid_RT17-Dec-06 23:45
Hamid_RT17-Dec-06 23:45 
GeneralRe: how to keep data persistance into controls? Pin
Arris7418-Dec-06 2:30
Arris7418-Dec-06 2:30 
GeneralRe: how to keep data persistance into controls? Pin
Hamid_RT18-Dec-06 6:40
Hamid_RT18-Dec-06 6:40 
Questionlaunch iexplore from a win32 appl Pin
fakeplastictree9515-Dec-06 3:35
fakeplastictree9515-Dec-06 3:35 
AnswerRe: launch iexplore from a win32 appl Pin
David Crow15-Dec-06 3:46
David Crow15-Dec-06 3:46 

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.