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

C / C++ / MFC

 
QuestionDLL Thread Help Pin
borono15-Apr-06 18:12
borono15-Apr-06 18:12 
AnswerRe: DLL Thread Help Pin
Waldermort15-Apr-06 19:51
Waldermort15-Apr-06 19:51 
GeneralRe: DLL Thread Help Pin
borono16-Apr-06 7:28
borono16-Apr-06 7:28 
QuestionPorting VC6 to VC8 Pin
PJ Arends15-Apr-06 11:30
professionalPJ Arends15-Apr-06 11:30 
AnswerRe: Porting VC6 to VC8 Pin
PJ Arends15-Apr-06 11:56
professionalPJ Arends15-Apr-06 11:56 
GeneralRe: Porting VC6 to VC8 Pin
Jörgen Sigvardsson15-Apr-06 13:12
Jörgen Sigvardsson15-Apr-06 13:12 
GeneralRe: Porting VC6 to VC8 Pin
PJ Arends15-Apr-06 13:34
professionalPJ Arends15-Apr-06 13:34 
GeneralRe: Porting VC6 to VC8 Pin
Ryan Binns15-Apr-06 22:10
Ryan Binns15-Apr-06 22:10 
Jörgen Sigvardsson wrote:
What exactly does that option do? Will the compiler generate different code? Will L"strings" stop working?


No. If you enable that option, literal unicode strings are given the type wchar_t. This type is considered a distinct type by the compiler (not a typedef'd unsigned short). The advantage is it is more typesafe, and you don't have to do a typedef yourself. The disadvantage is you have to look for type conflicts in existing code - it's an option you'd want to enable at the beginning of a project.

You can freely typecast between wchar_t and unsigned short, although I'm not sure whether the compiler will do it implicitly.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

Questionreading from database Pin
aguest15-Apr-06 11:23
aguest15-Apr-06 11:23 
AnswerRe: reading from database Pin
Maxwell Chen15-Apr-06 17:39
Maxwell Chen15-Apr-06 17:39 
QuestionNative Apps Pin
Julian Goldsmith15-Apr-06 10:52
Julian Goldsmith15-Apr-06 10:52 
AnswerRe: Native Apps Pin
Maxwell Chen15-Apr-06 17:36
Maxwell Chen15-Apr-06 17:36 
Questionhow would i get the windows directory in kernel mode? Pin
Jimmy638915-Apr-06 10:35
Jimmy638915-Apr-06 10:35 
AnswerRe: how would i get the windows directory in kernel mode? Pin
Julian Goldsmith15-Apr-06 10:54
Julian Goldsmith15-Apr-06 10:54 
QuestionHow to get internet connection speed ??? Pin
IvanBeograd15-Apr-06 10:30
IvanBeograd15-Apr-06 10:30 
AnswerRe: How to get internet connection speed ??? Pin
IvanBeograd16-Apr-06 10:14
IvanBeograd16-Apr-06 10:14 
Questioninline declaration? Pin
9ine15-Apr-06 7:37
9ine15-Apr-06 7:37 
AnswerRe: inline declaration? Pin
Maxwell Chen15-Apr-06 8:03
Maxwell Chen15-Apr-06 8:03 
GeneralRe: inline declaration? Pin
9ine15-Apr-06 8:55
9ine15-Apr-06 8:55 
GeneralRe: inline declaration? Pin
Maxwell Chen15-Apr-06 9:34
Maxwell Chen15-Apr-06 9:34 
AnswerRe: inline declaration? Pin
Michael Dunn15-Apr-06 14:30
sitebuilderMichael Dunn15-Apr-06 14:30 
AnswerRe: inline declaration? Pin
Ryan Binns15-Apr-06 22:13
Ryan Binns15-Apr-06 22:13 
GeneralRe: inline declaration? Pin
9ine16-Apr-06 0:10
9ine16-Apr-06 0:10 
GeneralRe: inline declaration? Pin
Ryan Binns16-Apr-06 4:25
Ryan Binns16-Apr-06 4:25 
GeneralRe: inline declaration? Pin
9ine16-Apr-06 7:34
9ine16-Apr-06 7:34 

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.