Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Assigning the max Size for object arrays Pin
toxcct23-Feb-06 4:18
toxcct23-Feb-06 4:18 
QuestionCalling va_start Multiple Times... Pin
James R. Twine23-Feb-06 3:12
James R. Twine23-Feb-06 3:12 
AnswerRe: Calling va_start Multiple Times... Pin
peterchen23-Feb-06 5:06
peterchen23-Feb-06 5:06 
GeneralRe: Calling va_start Multiple Times... Pin
James R. Twine23-Feb-06 5:20
James R. Twine23-Feb-06 5:20 
GeneralRe: Calling va_start Multiple Times... Pin
peterchen23-Feb-06 6:24
peterchen23-Feb-06 6:24 
AnswerRe: Calling va_start Multiple Times... Pin
Joe Woodbury23-Feb-06 9:08
professionalJoe Woodbury23-Feb-06 9:08 
AnswerRe: Calling va_start Multiple Times... Pin
Ryan Binns23-Feb-06 14:58
Ryan Binns23-Feb-06 14:58 
Questioncompiler setting Pin
vaibhav shinde23-Feb-06 2:56
vaibhav shinde23-Feb-06 2:56 
I am geeting error
"cannot convert parameter 2 from 'char *' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast"

I think we need to change character set from UNICODE to MULTIBYTE( _MBCS instead of _UNICODE ) It gets compiled on VC6. The reason may be at that time the default character set wasn't Unicode.
I don't want to use _T() macro.

We can change character set through IDE this way-
Go to project properties, select ConfigurationProperties, General and you have an option called Character Set. The default is Use Unicode Character Set. Change it to Use Multi-Byte character set.

But how this can be done through command prompt. I need to use /d
to change option of cl.exe. But how exactly it is done?



Vaibhav
AnswerRe: compiler setting Pin
vaibhav shinde23-Feb-06 2:58
vaibhav shinde23-Feb-06 2:58 
QuestionWriting a browser plugin Pin
ice_and_fire23-Feb-06 2:55
ice_and_fire23-Feb-06 2:55 
AnswerRe: Writing a browser plugin Pin
David Crow23-Feb-06 2:56
David Crow23-Feb-06 2:56 
QuestionCalling a function Pin
srija23-Feb-06 2:22
srija23-Feb-06 2:22 
AnswerRe: Calling a function Pin
toxcct23-Feb-06 2:27
toxcct23-Feb-06 2:27 
QuestionRe: Calling a function Pin
David Crow23-Feb-06 2:55
David Crow23-Feb-06 2:55 
QuestionError In Building simple ATL application Pin
maharaja pandian23-Feb-06 1:46
maharaja pandian23-Feb-06 1:46 
QuestionHow to Execute a process before win logon??? Pin
Mohiul Alam Chowdhury Rony23-Feb-06 1:37
Mohiul Alam Chowdhury Rony23-Feb-06 1:37 
AnswerRe: How to Execute a process before win logon??? Pin
James R. Twine23-Feb-06 2:42
James R. Twine23-Feb-06 2:42 
AnswerRe: How to Execute a process before win logon??? Pin
Roger Stoltz23-Feb-06 2:51
Roger Stoltz23-Feb-06 2:51 
QuestionRe: How to Execute a process before win logon??? Pin
Mohiul Alam Chowdhury Rony23-Feb-06 16:53
Mohiul Alam Chowdhury Rony23-Feb-06 16:53 
AnswerRe: How to Execute a process before win logon??? Pin
David Crow23-Feb-06 3:00
David Crow23-Feb-06 3:00 
QuestionBuffer Overrun in SQLDriverConnect()? Pin
meet2nishith23-Feb-06 1:26
meet2nishith23-Feb-06 1:26 
QuestionRe: Buffer Overrun in SQLDriverConnect()? Pin
David Crow23-Feb-06 3:06
David Crow23-Feb-06 3:06 
AnswerRe: Buffer Overrun in SQLDriverConnect()? Pin
meet2nishith23-Feb-06 3:16
meet2nishith23-Feb-06 3:16 
QuestionCrystal Reports 11 with visual Studio .NET Pin
Irfan Shahid23-Feb-06 1:07
Irfan Shahid23-Feb-06 1:07 
QuestionPls Help Pin
trinadh_t23-Feb-06 0:48
trinadh_t23-Feb-06 0:48 

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.