Click here to Skip to main content
15,907,492 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralInstanstiating active X Pin
act_x20-Jan-04 5:47
act_x20-Jan-04 5:47 
GeneralDetecting symbolic links on a Samba share Pin
cheesepirate20-Jan-04 5:07
cheesepirate20-Jan-04 5:07 
GeneralCOM vs .Net Pin
Hashim Saleem20-Jan-04 4:50
Hashim Saleem20-Jan-04 4:50 
GeneralRe: COM vs .Net Pin
valikac20-Jan-04 5:30
valikac20-Jan-04 5:30 
GeneralRe: COM vs .Net Pin
Hashim Saleem20-Jan-04 6:26
Hashim Saleem20-Jan-04 6:26 
GeneralRe: COM vs .Net Pin
valikac21-Jan-04 11:08
valikac21-Jan-04 11:08 
GeneralWhen and how do I know how to use Unicode Pin
BrockVnm20-Jan-04 4:48
BrockVnm20-Jan-04 4:48 
GeneralRe: When and how do I know how to use Unicode Pin
Roger Allen20-Jan-04 5:10
Roger Allen20-Jan-04 5:10 
When working in MFC applications and your not sure whether you will need UNICODE or not, you just need to be carful in your string handling. Declare characters etc using the TCHAT type. This will resolve to either char or wchar depending on whether you have UNICODE defined. This will make all your types switch automatically.

After that, your big concern will be string manipulation functions. strlen() etc. They all have an equivalent beginning with _tcs which resolves to either the ANSI or UNICODE versions of the functions depending on the UNICODE define.

The MFC CString class is automatically UNICODE complaint if your build for UNICODE.


Roger Allen - Sonork 100.10016
Roger Wright: Remember to buckle up, please, and encourage your friends to do the same. It's not just about saving your life, but saving the quality of life for those you may leave behind...
GeneralRe: When and how do I know how to use Unicode Pin
BrockVnm20-Jan-04 5:16
BrockVnm20-Jan-04 5:16 
GeneralRe: When and how do I know how to use Unicode Pin
Roger Allen20-Jan-04 5:22
Roger Allen20-Jan-04 5:22 
GeneralRe: When and how do I know how to use Unicode Pin
BrockVnm20-Jan-04 5:32
BrockVnm20-Jan-04 5:32 
GeneralRe: When and how do I know how to use Unicode Pin
David Crow20-Jan-04 7:25
David Crow20-Jan-04 7:25 
GeneralRe: When and how do I know how to use Unicode Pin
Ravi Bhavnani20-Jan-04 5:17
professionalRavi Bhavnani20-Jan-04 5:17 
GeneralRe: When and how do I know how to use Unicode Pin
Roger Allen20-Jan-04 5:25
Roger Allen20-Jan-04 5:25 
GeneralRe: When and how do I know how to use Unicode Pin
Ravi Bhavnani20-Jan-04 9:09
professionalRavi Bhavnani20-Jan-04 9:09 
GeneralRe: When and how do I know how to use Unicode Pin
David Crow20-Jan-04 7:18
David Crow20-Jan-04 7:18 
GeneralRe: When and how do I know how to use Unicode Pin
BrockVnm20-Jan-04 7:47
BrockVnm20-Jan-04 7:47 
GeneralRe: When and how do I know how to use Unicode Pin
David Crow20-Jan-04 8:38
David Crow20-Jan-04 8:38 
GeneralRe: When and how do I know how to use Unicode Pin
BrockVnm20-Jan-04 8:49
BrockVnm20-Jan-04 8:49 
GeneralRe: When and how do I know how to use Unicode Pin
David Crow20-Jan-04 9:01
David Crow20-Jan-04 9:01 
GeneralQuery on When and how do I know how to use Unicode? Pin
SiddharthAtw20-Jan-04 17:15
SiddharthAtw20-Jan-04 17:15 
Generalto track changing the selection of combobox Pin
Bash20-Jan-04 3:52
Bash20-Jan-04 3:52 
GeneralRe: to track changing the selection of combobox Pin
Ravi Bhavnani20-Jan-04 4:25
professionalRavi Bhavnani20-Jan-04 4:25 
GeneralWhat is "trap"? I'm not sure about terminology... Pin
Bash20-Jan-04 5:12
Bash20-Jan-04 5:12 
GeneralRe: What is "trap"? I'm not sure about terminology... Pin
Ravi Bhavnani20-Jan-04 5:15
professionalRavi Bhavnani20-Jan-04 5:15 

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.