Click here to Skip to main content
15,894,195 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Big Problem.....HELP!!! Pin
xxhimanshu8-Jan-03 0:20
xxhimanshu8-Jan-03 0:20 
GeneralRe: Big Problem.....HELP!!! Pin
Sunnygirl8-Jan-03 1:17
Sunnygirl8-Jan-03 1:17 
GeneralRe: Big Problem.....HELP!!! Pin
xxhimanshu8-Jan-03 1:59
xxhimanshu8-Jan-03 1:59 
GeneralRe: Big Problem.....HELP!!! Pin
Sunnygirl8-Jan-03 2:39
Sunnygirl8-Jan-03 2:39 
GeneralConsole Window Properties Pin
Cpudood7-Jan-03 23:50
Cpudood7-Jan-03 23:50 
GeneralRe: Console Window Properties Pin
Nitron8-Jan-03 6:41
Nitron8-Jan-03 6:41 
GeneralUnicode filenames Pin
S O S7-Jan-03 21:49
S O S7-Jan-03 21:49 
GeneralRe: Unicode filenames Pin
56789012347-Jan-03 22:58
56789012347-Jan-03 22:58 
In most cases we have functions that support UNICODE. For example, CreateFile for file operations, CStdioFile class for text files. If function/class we need doesn't support UNICODE, we convert it's parameters by the following way (suppose that SomeFunction(char*) hasn't UNICODE version):

#include "atlbase.h"

// ...

USES_CONVERSION; // ATL string conversion macro

TCHAR s[100];
// fill s ...

#ifdef _UNICODE
SomeFunction(W2A(s)); // convert WCHAR* to char*
#else
SomeFunction(s); // direct call - TCHAR is char without UNICODE
#endif



GeneralRe: Unicode filenames Pin
S O S8-Jan-03 9:53
S O S8-Jan-03 9:53 
GeneralScreensaver with GDI+ Pin
RolandSaller7-Jan-03 21:26
RolandSaller7-Jan-03 21:26 
GeneralRe: Screensaver with GDI+ Pin
xxhimanshu7-Jan-03 22:41
xxhimanshu7-Jan-03 22:41 
GeneralRe: Screensaver with GDI+ Pin
RolandSaller8-Jan-03 23:21
RolandSaller8-Jan-03 23:21 
GeneralUnicode problem Pin
7-Jan-03 21:24
suss7-Jan-03 21:24 
Generalhi... Pin
:_Rocket_:7-Jan-03 21:12
:_Rocket_:7-Jan-03 21:12 
GeneralRe: hi... Pin
MVH7-Jan-03 22:52
MVH7-Jan-03 22:52 
General2 questions Pin
TOMTEFAR7-Jan-03 20:35
TOMTEFAR7-Jan-03 20:35 
GeneralRe: 2 questions Pin
Andreas Saurwein8-Jan-03 0:49
Andreas Saurwein8-Jan-03 0:49 
GeneralRe: 2 questions Pin
TOMTEFAR8-Jan-03 4:09
TOMTEFAR8-Jan-03 4:09 
QuestionCDateTimeCtrl Focus Problem - Any workaround?? Pin
cool_jay7-Jan-03 20:22
cool_jay7-Jan-03 20:22 
Generalexecuting batch and shortcuts Pin
r i s h a b h s7-Jan-03 19:28
r i s h a b h s7-Jan-03 19:28 
GeneralHelp me pleeeeeeeeeeeeeeeeeeeeeeeeeaze!!!!!!! Pin
r i s h a b h s7-Jan-03 22:57
r i s h a b h s7-Jan-03 22:57 
GeneralRe: Help me pleeeeeeeeeeeeeeeeeeeeeeeeeaze!!!!!!! Pin
Rickard Andersson207-Jan-03 23:42
Rickard Andersson207-Jan-03 23:42 
GeneralRe: Help me pleeeeeeeeeeeeeeeeeeeeeeeeeaze!!!!!!! Pin
xxhimanshu8-Jan-03 0:06
xxhimanshu8-Jan-03 0:06 
GeneralRe: Help me pleeeeeeeeeeeeeeeeeeeeeeeeeaze!!!!!!! Pin
Rickard Andersson208-Jan-03 1:29
Rickard Andersson208-Jan-03 1:29 
GeneralRe: executing batch and shortcuts Pin
Ted Ferenc8-Jan-03 0:30
Ted Ferenc8-Jan-03 0:30 

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.