Click here to Skip to main content
15,919,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error on compilation Pin
babyspidy30-Aug-05 0:47
babyspidy30-Aug-05 0:47 
QuestionXP feature is disabled while running my MDI program. Pin
G Haranadh30-Aug-05 0:03
G Haranadh30-Aug-05 0:03 
QuestionHow to use type library files? Pin
Dody_DK29-Aug-05 23:29
Dody_DK29-Aug-05 23:29 
QuestionGrouping windows Pin
Nishad S29-Aug-05 23:27
Nishad S29-Aug-05 23:27 
AnswerRe: Grouping windows Pin
Rage30-Aug-05 0:06
professionalRage30-Aug-05 0:06 
GeneralRe: Grouping windows Pin
toxcct30-Aug-05 0:10
toxcct30-Aug-05 0:10 
GeneralRe: Grouping windows Pin
Nishad S30-Aug-05 0:15
Nishad S30-Aug-05 0:15 
QuestionUNICODE woes Pin
TheGroinalRampager29-Aug-05 23:15
TheGroinalRampager29-Aug-05 23:15 
In my attempts to make my program as versatile as possible I followed all the advice given about using TCHAR's and the _T macro so that my code could be compiled in both the ansi standard and the UNICODE standard. However i have run into a wall now which suggests i am not understanding something.....

in this line:
sFontDetails.FaceName = _T("Times New Roman");

i get the error:
error C2440: '=' : cannot convert from 'const unsigned short [16]' to 'WCHAR [32]'

I was under the impression that the _T macro when used with a string literal should be automatically converted to the WCHAR[] type or the normal char[] type depending on whether i have the line #define UNICODE in my program or not..... what am i missing?

Thanks in advance,
Ed Bosher
AnswerRe: UNICODE woes Pin
toxcct29-Aug-05 23:25
toxcct29-Aug-05 23:25 
AnswerRe: UNICODE woes Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX30-Aug-05 0:10
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX30-Aug-05 0:10 
GeneralRe: UNICODE woes Pin
toxcct30-Aug-05 0:13
toxcct30-Aug-05 0:13 
General[Message Deleted] Pin
TheGroinalRampager30-Aug-05 1:00
TheGroinalRampager30-Aug-05 1:00 
GeneralRe: UNICODE woes. Pin
toxcct30-Aug-05 1:05
toxcct30-Aug-05 1:05 
Generaloh..... but still..... Pin
TheGroinalRampager30-Aug-05 1:16
TheGroinalRampager30-Aug-05 1:16 
GeneralRe: oh..... but still..... Pin
toxcct30-Aug-05 1:20
toxcct30-Aug-05 1:20 
GeneralRe: UNICODE woes Pin
TheGroinalRampager30-Aug-05 1:01
TheGroinalRampager30-Aug-05 1:01 
AnswerRe: UNICODE woes Pin
toxcct30-Aug-05 1:10
toxcct30-Aug-05 1:10 
GeneralRe: UNICODE woes Pin
TheGroinalRampager30-Aug-05 1:19
TheGroinalRampager30-Aug-05 1:19 
GeneralRe: UNICODE woes [edited] Pin
toxcct30-Aug-05 1:25
toxcct30-Aug-05 1:25 
GeneralRe: UNICODE woes Pin
Jose Lamas Rios30-Aug-05 2:39
Jose Lamas Rios30-Aug-05 2:39 
GeneralRe: UNICODE woes Pin
toxcct30-Aug-05 2:46
toxcct30-Aug-05 2:46 
AnswerRe: UNICODE woes Pin
MailtoGops30-Aug-05 4:50
MailtoGops30-Aug-05 4:50 
GeneralRe: UNICODE woes Pin
toxcct30-Aug-05 5:13
toxcct30-Aug-05 5:13 
GeneralThanks all, Pin
TheGroinalRampager30-Aug-05 21:45
TheGroinalRampager30-Aug-05 21:45 
Questionloading images in memory Pin
a_david12329-Aug-05 23:13
a_david12329-Aug-05 23:13 

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.