Click here to Skip to main content
15,920,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CList destructor Pin
bob1697211-Apr-08 18:31
bob1697211-Apr-08 18:31 
GeneralRe: CList destructor Pin
CPallini11-Apr-08 20:39
mveCPallini11-Apr-08 20:39 
GeneralRe: CList destructor Pin
Moak17-Apr-08 0:31
Moak17-Apr-08 0:31 
QuestionCan we have our application as _UNICODE supported as well _MBCS supported? Pin
ganesa moorthy10-Apr-08 4:56
ganesa moorthy10-Apr-08 4:56 
GeneralRe: Can we have our application as _UNICODE supported as well _MBCS supported? Pin
Mark Salsbery10-Apr-08 5:53
Mark Salsbery10-Apr-08 5:53 
GeneralRe: Can we have our application as _UNICODE supported as well _MBCS supported? Pin
led mike10-Apr-08 8:11
led mike10-Apr-08 8:11 
QuestionRe: Can we have our application as _UNICODE supported as well _MBCS supported? Pin
ganesa moorthy10-Apr-08 21:04
ganesa moorthy10-Apr-08 21:04 
GeneralRe: Can we have our application as _UNICODE supported as well _MBCS supported? Pin
Mark Salsbery11-Apr-08 5:48
Mark Salsbery11-Apr-08 5:48 
ganesa moorthy wrote:
if you set your project _UNICODE in project settings, it will override _MBCS


Of course, but you need to understand how that affects your compilation.
Those are simply macros used with conditional compilation.  The macros effect the
default char types in API function arguments and system structures.  They also affect
the type of the tchar.h generic types like TCHAR.

You are still free to use specific types where necessary. For the affected Windows APIs,
you can call the specific APIs using the W and A suffixes where required.  Same with Windows SDK
structures.  In places where you need a specific char type, do NOT use the generic TCHAR - use the right type.

If you have third party code that requires a different character type then you need to deal with that by
converting your strings/char arrays to the correct type where necessary.

ganesa moorthy wrote:
No it is not possible


Not true Smile | :)

Mark





Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Can we have our application as _UNICODE supported as well _MBCS supported? Pin
ganesa moorthy14-Apr-08 21:01
ganesa moorthy14-Apr-08 21:01 
QuestionListBox Pin
C++NewBe10-Apr-08 3:26
C++NewBe10-Apr-08 3:26 
QuestionRe: ListBox Pin
CPallini10-Apr-08 3:33
mveCPallini10-Apr-08 3:33 
GeneralRe: ListBox Pin
C++NewBe10-Apr-08 3:41
C++NewBe10-Apr-08 3:41 
GeneralRe: ListBox Pin
CPallini10-Apr-08 4:37
mveCPallini10-Apr-08 4:37 
GeneralRe: ListBox Pin
Cedric Moonen10-Apr-08 3:36
Cedric Moonen10-Apr-08 3:36 
GeneralRe: ListBox Pin
krmed10-Apr-08 3:43
krmed10-Apr-08 3:43 
AnswerRe: ListBox Pin
C++NewBe10-Apr-08 4:50
C++NewBe10-Apr-08 4:50 
GeneralRe: ListBox Pin
krmed10-Apr-08 4:55
krmed10-Apr-08 4:55 
GeneralRe: ListBox Pin
CPallini10-Apr-08 4:57
mveCPallini10-Apr-08 4:57 
GeneralRe: ListBox Pin
Hamid_RT11-Apr-08 7:17
Hamid_RT11-Apr-08 7:17 
QuestionRe: ListBox Pin
David Crow11-Apr-08 10:45
David Crow11-Apr-08 10:45 
GeneralRe: ListBox Pin
Hamid_RT11-Apr-08 19:34
Hamid_RT11-Apr-08 19:34 
GeneralInternet Connection Sharing (ICS) Questions Pin
Member 427710410-Apr-08 3:19
Member 427710410-Apr-08 3:19 
GeneralProcess output Pin
Jim Crafton10-Apr-08 3:18
Jim Crafton10-Apr-08 3:18 
GeneralRe: Process output Pin
CPallini10-Apr-08 3:31
mveCPallini10-Apr-08 3:31 
GeneralRe: Process output Pin
James R. Twine10-Apr-08 6:59
James R. Twine10-Apr-08 6:59 

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.