Click here to Skip to main content
15,921,577 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ReAcquire my Source code Pin
stixoffire25-Mar-07 21:50
stixoffire25-Mar-07 21:50 
GeneralRe: ReAcquire my Source code Pin
Mark Salsbery26-Mar-07 8:13
Mark Salsbery26-Mar-07 8:13 
QuestionStoring files in a dll, or somewhere like that... Pin
Anthony Mushrow23-Mar-07 14:05
professionalAnthony Mushrow23-Mar-07 14:05 
AnswerRe: Storing files in a dll, or somewhere like that... Pin
DLChambers23-Mar-07 15:04
DLChambers23-Mar-07 15:04 
Questionserial.Open(_T("COM1")); in CSerial class Pin
m-hwang23-Mar-07 14:01
m-hwang23-Mar-07 14:01 
AnswerRe: serial.Open(_T("COM1")); in CSerial class Pin
Cedric Moonen23-Mar-07 22:41
Cedric Moonen23-Mar-07 22:41 
GeneralRe: serial.Open(_T("COM1")); in CSerial class Pin
m-hwang24-Mar-07 5:50
m-hwang24-Mar-07 5:50 
AnswerRe: serial.Open(_T("COM1")); in CSerial class Pin
Gary R. Wheeler24-Mar-07 2:47
Gary R. Wheeler24-Mar-07 2:47 
The _T() macro is intended for use only with constant strings:
_T("Constant string") // or
#define ConstantString "Constant string"
_T(ConstantString)
It's used when your application needs to be compiled for either MBCS (multi-byte character set) or UNICODE. MBCS is the fancy name for ASCII/ANSI applications. UNICODE is useful for when you need to handle Japanese/Chinese text, for example, which requires two bytes per character.

A string of the form "string" is compiled as a MBCS string, and L"string" as a UNICODE string. The _T(arg) is defined as simply arg in the MBCS case and as L##arg in the UNICODE case.

More than you ever wanted to know, I'm sure Blush | :O .


Software Zen: delete this;

QuestionEject one USB device on multiple USB devices Pin
fuxiangwu23-Mar-07 12:37
fuxiangwu23-Mar-07 12:37 
QuestionNewbie learning MFC, confused about Document/View Pin
maxmaven23-Mar-07 10:26
maxmaven23-Mar-07 10:26 
AnswerRe: Newbie learning MFC, confused about Document/View Pin
Gary R. Wheeler24-Mar-07 3:37
Gary R. Wheeler24-Mar-07 3:37 
GeneralRe: Newbie learning MFC, confused about Document/View Pin
maxmaven24-Mar-07 9:37
maxmaven24-Mar-07 9:37 
Questionalways load windows default color scheme in a dialog??? Pin
tiflo23-Mar-07 9:28
tiflo23-Mar-07 9:28 
QuestionContext Menu and displaying menu on screen Pin
flippydeflippydebop23-Mar-07 8:17
flippydeflippydebop23-Mar-07 8:17 
AnswerRe: Context Menu and displaying menu on screen Pin
flippydeflippydebop23-Mar-07 8:39
flippydeflippydebop23-Mar-07 8:39 
Questionany fn to know the memoru allocated by SafeArrayCreate() Pin
GANsJob23-Mar-07 7:24
GANsJob23-Mar-07 7:24 
AnswerRe: any fn to know the memoru allocated by SafeArrayCreate() Pin
prasad_som23-Mar-07 20:44
prasad_som23-Mar-07 20:44 
Questioncan't retrieve the string from string table using loadstring() Pin
GANsJob23-Mar-07 7:16
GANsJob23-Mar-07 7:16 
AnswerRe: can't retrieve the string from string table using loadstring() Pin
perle123-Mar-07 14:22
perle123-Mar-07 14:22 
Questionconfusing problem Pin
swatgodjr23-Mar-07 6:58
swatgodjr23-Mar-07 6:58 
AnswerRe: confusing problem Pin
Christian Graus23-Mar-07 7:10
protectorChristian Graus23-Mar-07 7:10 
GeneralRe: confusing problem Pin
swatgodjr23-Mar-07 7:42
swatgodjr23-Mar-07 7:42 
AnswerRe: confusing problem Pin
Phil J Pearson23-Mar-07 7:38
Phil J Pearson23-Mar-07 7:38 
AnswerRe: confusing problem Pin
Sameerkumar Namdeo23-Mar-07 22:22
Sameerkumar Namdeo23-Mar-07 22:22 
GeneralRe: confusing problem Pin
swatgodjr24-Mar-07 2:52
swatgodjr24-Mar-07 2:52 

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.