Click here to Skip to main content
15,917,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalnew dialog class Pin
tordyvel29-Apr-02 6:07
tordyvel29-Apr-02 6:07 
GeneralRe: new dialog class Pin
l a u r e n29-Apr-02 6:20
l a u r e n29-Apr-02 6:20 
GeneralRe: new dialog class Pin
Nish Nishant29-Apr-02 6:40
sitebuilderNish Nishant29-Apr-02 6:40 
GeneralRe: new dialog class Pin
tordyvel29-Apr-02 6:48
tordyvel29-Apr-02 6:48 
GeneralRe: new dialog class Pin
Nish Nishant29-Apr-02 6:56
sitebuilderNish Nishant29-Apr-02 6:56 
GeneralType Cast! Pin
hph29-Apr-02 5:45
hph29-Apr-02 5:45 
GeneralRe: Type Cast! Pin
Jeremy Falcon29-Apr-02 6:00
professionalJeremy Falcon29-Apr-02 6:00 
GeneralRe: Type Cast! Pin
Le centriste29-Apr-02 6:47
Le centriste29-Apr-02 6:47 
Duh! Bug alert, if it is not compiled with _UNICODE defined. Here is one:

USES_CONVERSION;
CString sDuh = "Howdy partner";
unsigned short *pDuh = T2W((LPCTSTR)sDuh);


I don't think you have to include anything if you have an ATL or MFC project. I don't know for other kind of projects.

Also, the conversion macros don't need cleanup, because memory is allocated on the stack.

If you are using ATL 7.0 (with Visual Studio.NET), those macros are declared deprecated. But there is a replacement.

Michel

It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.

- TreeBeard
GeneralRe: Type Cast! Pin
Nish Nishant29-Apr-02 7:00
sitebuilderNish Nishant29-Apr-02 7:00 
Generalone more static variable initializtion question Pin
Jack Hui29-Apr-02 5:43
Jack Hui29-Apr-02 5:43 
GeneralRe: one more static variable initializtion question Pin
Albert Pascual29-Apr-02 6:00
sitebuilderAlbert Pascual29-Apr-02 6:00 
GeneralRe: one more static variable initializtion question Pin
Tim Smith29-Apr-02 10:35
Tim Smith29-Apr-02 10:35 
GeneralRe: one more static variable initializtion question Pin
Joaquín M López Muñoz29-Apr-02 9:47
Joaquín M López Muñoz29-Apr-02 9:47 
GeneralRe: one more static variable initializtion question Pin
Michael Dunn29-Apr-02 14:51
sitebuilderMichael Dunn29-Apr-02 14:51 
Generalneed help in VC++.NET Pin
geagle29-Apr-02 5:34
geagle29-Apr-02 5:34 
GeneralGroup Box caption problem Pin
moobob29-Apr-02 5:25
moobob29-Apr-02 5:25 
GeneralRe: Group Box caption problem Pin
l a u r e n29-Apr-02 6:24
l a u r e n29-Apr-02 6:24 
GeneralRe: Group Box caption problem Pin
moobob29-Apr-02 6:41
moobob29-Apr-02 6:41 
Generalreduce exe size Pin
Hesham Amin29-Apr-02 4:11
Hesham Amin29-Apr-02 4:11 
GeneralRe: reduce exe size Pin
Mike Zinni29-Apr-02 5:23
Mike Zinni29-Apr-02 5:23 
GeneralRe: reduce exe size Pin
Albert Pascual29-Apr-02 6:01
sitebuilderAlbert Pascual29-Apr-02 6:01 
GeneralRe: reduce exe size Pin
Tim Deveaux29-Apr-02 9:09
Tim Deveaux29-Apr-02 9:09 
GeneralRe: reduce exe size Pin
Michael Dunn29-Apr-02 14:52
sitebuilderMichael Dunn29-Apr-02 14:52 
GeneralRe: reduce exe size Pin
Nish Nishant29-Apr-02 15:17
sitebuilderNish Nishant29-Apr-02 15:17 
GeneralRe: reduce exe size Pin
Michael Dunn29-Apr-02 17:44
sitebuilderMichael Dunn29-Apr-02 17:44 

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.