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

C / C++ / MFC

 
GeneralRe: recursive searching for a specific folder Pin
David Crow12-Apr-04 4:25
David Crow12-Apr-04 4:25 
GeneralDynamic bitmaps in MFC dialog Pin
Anonymous11-Apr-04 15:00
Anonymous11-Apr-04 15:00 
GeneralRe: Dynamic bitmaps in MFC dialog Pin
Timothy Grabrian11-Apr-04 15:19
professionalTimothy Grabrian11-Apr-04 15:19 
GeneralRe: Dynamic bitmaps in MFC dialog Pin
John R. Shaw11-Apr-04 23:13
John R. Shaw11-Apr-04 23:13 
QuestionTEXT? Pin
Timothy Grabrian11-Apr-04 14:29
professionalTimothy Grabrian11-Apr-04 14:29 
AnswerRe: TEXT? Pin
Prakash Nadar11-Apr-04 15:59
Prakash Nadar11-Apr-04 15:59 
AnswerRe: TEXT? Pin
avenger_sb2511-Apr-04 18:18
avenger_sb2511-Apr-04 18:18 
AnswerRe: TEXT? Pin
John R. Shaw11-Apr-04 23:31
John R. Shaw11-Apr-04 23:31 
It is pretty simple!

"Message" is ASCII single byte code.
L"Message" is double byte code.

If you might want to compile your code, using the MS SDK, for UNICODE (native to NT/2000 and above - not 95/98/Me) then you should use the macros _T() or TEXT(). What those macros do or do not do is add the 'L' in front of the string, based on whether you are creating an ASCII standard version of your program or a UNICODE version of you program.

It's that simple. As a general rule use the _T() or TEXT() for you text string when programming for windows, but stay alert for function that take arguments like LPSTR or LPCSTR, because they can not handle UNICODE strings. Functions that take arguments like LPTSTR and LPCTSTR are UNICODE compatible.

INTP
Generalconsole app w/ActiveX control Pin
sbeausol11-Apr-04 14:21
sbeausol11-Apr-04 14:21 
GeneralHelp->Communication between "frames" in a window. Pin
Victor Nikol11-Apr-04 14:20
Victor Nikol11-Apr-04 14:20 
GeneralCreating Animated GIFS Pin
DanYELL11-Apr-04 12:34
DanYELL11-Apr-04 12:34 
GeneralRe: Creating Animated GIFS Pin
l a u r e n11-Apr-04 17:54
l a u r e n11-Apr-04 17:54 
GeneralRetrieving image from Clipboard Pin
Anonymous11-Apr-04 10:31
Anonymous11-Apr-04 10:31 
GeneralRe: Retrieving image from Clipboard Pin
Anonymous11-Apr-04 10:32
Anonymous11-Apr-04 10:32 
GeneralRe: Retrieving image from Clipboard Pin
Ravi Bhavnani11-Apr-04 11:33
professionalRavi Bhavnani11-Apr-04 11:33 
GeneralIphlpapi and Divide by Zero Exception Pin
User 1278211-Apr-04 9:40
User 1278211-Apr-04 9:40 
GeneralRe: Iphlpapi and Divide by Zero Exception Pin
Antti Keskinen11-Apr-04 11:36
Antti Keskinen11-Apr-04 11:36 
GeneralRe: Iphlpapi and Divide by Zero Exception Pin
User 1278213-Apr-04 11:11
User 1278213-Apr-04 11:11 
Generalclistctrl row hilight Pin
r00k1311-Apr-04 9:25
r00k1311-Apr-04 9:25 
GeneralRe: clistctrl row hilight Pin
Anonymous11-Apr-04 12:11
Anonymous11-Apr-04 12:11 
GeneralRe: clistctrl row hilight Pin
r00k1311-Apr-04 12:53
r00k1311-Apr-04 12:53 
GeneralRe: clistctrl row hilight Pin
Anonymous11-Apr-04 15:29
Anonymous11-Apr-04 15:29 
GeneralRe: clistctrl row hilight Pin
r00k1311-Apr-04 17:37
r00k1311-Apr-04 17:37 
GeneralRe: clistctrl row hilight Pin
Chris Richardson11-Apr-04 19:48
Chris Richardson11-Apr-04 19:48 
GeneralSecurity issue Pin
tank102511-Apr-04 6:55
tank102511-Apr-04 6:55 

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.