Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC and Windows 2000 Pin
Anonymous29-Jan-04 5:34
Anonymous29-Jan-04 5:34 
GeneralSubclassing Problem Pin
Dennis L28-Jan-04 5:55
Dennis L28-Jan-04 5:55 
GeneralNot receiving Registered Broadcast Message Pin
Member 81460328-Jan-04 5:49
Member 81460328-Jan-04 5:49 
GeneralRe: Not receiving Registered Broadcast Message Pin
Diddy28-Jan-04 11:15
Diddy28-Jan-04 11:15 
GeneralRe: Not receiving Registered Broadcast Message Pin
Member 81460329-Jan-04 2:08
Member 81460329-Jan-04 2:08 
GeneralTCHAR buffer size Pin
TomD228-Jan-04 5:48
TomD228-Jan-04 5:48 
GeneralRe: TCHAR buffer size Pin
Michael P Butler28-Jan-04 5:51
Michael P Butler28-Jan-04 5:51 
GeneralRe: TCHAR buffer size Pin
TomD228-Jan-04 6:05
TomD228-Jan-04 6:05 
I'm declaring this:

_TCHAR temp[4000];

and then using it in a call to this:

int len2 = (int)strlen((char*)testLine)+1;
MultiByteToWideChar(
CP_UTF8,
0,
(char*)testLine,
len2,
(_TCHAR*)temp,
4000);

I've also tried to concat TCHAR onto TCHAR using pointers, but again it stops working when it reaches a size of 121 WideChars.

Thanks for your time,

Tom.
GeneralRe: TCHAR buffer size Pin
Michael P Butler28-Jan-04 6:17
Michael P Butler28-Jan-04 6:17 
GeneralRe: TCHAR buffer size Pin
TomD228-Jan-04 6:35
TomD228-Jan-04 6:35 
GeneralRe: TCHAR buffer size Pin
Anonymous28-Jan-04 7:53
Anonymous28-Jan-04 7:53 
GeneralRe: TCHAR buffer size Pin
TomD228-Jan-04 21:21
TomD228-Jan-04 21:21 
GeneralButtons with alternative message Pin
satcat28-Jan-04 5:45
satcat28-Jan-04 5:45 
GeneralRe: Buttons with alternative message Pin
valikac28-Jan-04 7:54
valikac28-Jan-04 7:54 
GeneralRe: Buttons with alternative message Pin
satcat28-Jan-04 8:01
satcat28-Jan-04 8:01 
GeneralRe: Buttons with alternative message Pin
l a u r e n28-Jan-04 8:19
l a u r e n28-Jan-04 8:19 
GeneralRe: Buttons with alternative message Pin
satcat29-Jan-04 0:14
satcat29-Jan-04 0:14 
QuestionHow to load Cyrillic strings from resources? Pin
george ivanov28-Jan-04 5:04
george ivanov28-Jan-04 5:04 
AnswerRe: How to load Cyrillic strings from resources? Pin
toxcct28-Jan-04 5:21
toxcct28-Jan-04 5:21 
AnswerRe: How to load Cyrillic strings from resources? Pin
Carlos Antollini28-Jan-04 5:29
Carlos Antollini28-Jan-04 5:29 
AnswerRe: How to load Cyrillic strings from resources? Pin
Mukkie28-Jan-04 9:34
Mukkie28-Jan-04 9:34 
GeneralHandling Close View event Pin
CodeBrain28-Jan-04 4:59
CodeBrain28-Jan-04 4:59 
GeneralRe: Handling Close View event Pin
basementman28-Jan-04 10:02
basementman28-Jan-04 10:02 
QuestionPlease HELP ME!!! How to get rights accesses of a shared folder programmatically? Pin
bouli28-Jan-04 4:57
bouli28-Jan-04 4:57 
QuestionDraw Circle in Shell with Char ? Pin
Eldalie28-Jan-04 4:27
Eldalie28-Jan-04 4:27 

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.