Click here to Skip to main content
15,902,445 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to run c++ program on linux platform Pin
Prakash Nadar9-Jan-06 0:38
Prakash Nadar9-Jan-06 0:38 
GeneralRe: how to run c++ program on linux platform Pin
toxcct9-Jan-06 0:42
toxcct9-Jan-06 0:42 
GeneralRe: how to run c++ program on linux platform Pin
Prakash Nadar9-Jan-06 0:45
Prakash Nadar9-Jan-06 0:45 
GeneralRe: how to run c++ program on linux platform Pin
Chris Losinger9-Jan-06 0:46
professionalChris Losinger9-Jan-06 0:46 
AnswerRe: how to run c++ program on linux platform Pin
Aamir Butt9-Jan-06 0:41
Aamir Butt9-Jan-06 0:41 
AnswerRe: how to run c++ program on linux platform Pin
sunit59-Jan-06 1:19
sunit59-Jan-06 1:19 
AnswerRe: how to run c++ program on linux platform Pin
David Crow9-Jan-06 3:14
David Crow9-Jan-06 3:14 
QuestionUnicode support Pin
wollet9-Jan-06 0:08
wollet9-Jan-06 0:08 
I developed a VC++ application and now I need to support UNICODE to show Hebrew strings into a CListCtrl. I added the declaration:

#define _UNICODE

but now I obtain several error during the compilation process:

error C2664: 'int ATL::CStringT<basetype,stringtraits>::Find(ATL::CSimpleStringT<basetype,t_bmfcdll>::XCHAR,int) throw() const' : cannot convert parameter 1 from 'const char [11]' to 'ATL::CSimpleStringT<basetype,t_bmfcdll>::XCHAR'
with
[
BaseType=wchar_t,
StringTraits=StrTraitMFC_DLL<wchar_t>,
t_bMFCDLL=true
]
and
[
BaseType=wchar_t,
t_bMFCDLL=true
]
This conversion requires a reinterpret_cast, a C-style cast or function-style cast

This is because I used string constants without the _T("..."); prefix.
In my application there are several strings without _T prefix so I wanted to know if exist a workaround to use UNICODE without the intoruduction of _T prefix.

Remember that I need to display Hebrew strings.

Thank you
AnswerRe: Unicode support Pin
Prakash Nadar9-Jan-06 0:36
Prakash Nadar9-Jan-06 0:36 
AnswerRe: Unicode support Pin
Stephen Hewitt9-Jan-06 1:32
Stephen Hewitt9-Jan-06 1:32 
QuestionToolBar width and placing in Dialog (Win32) Pin
Anilkumar K V8-Jan-06 23:14
Anilkumar K V8-Jan-06 23:14 
Questionkernel mode programming Pin
mehrdadov8-Jan-06 22:20
mehrdadov8-Jan-06 22:20 
QuestionHow to enable unicode? Pin
<color>Aljechin 8-Jan-06 21:26
<color>Aljechin 8-Jan-06 21:26 
AnswerRe: How to enable unicode? Pin
Prakash Nadar8-Jan-06 21:29
Prakash Nadar8-Jan-06 21:29 
GeneralRe: How to enable unicode? Pin
<color>Aljechin 8-Jan-06 21:35
<color>Aljechin 8-Jan-06 21:35 
GeneralRe: How to enable unicode? Pin
Prakash Nadar8-Jan-06 21:52
Prakash Nadar8-Jan-06 21:52 
GeneralRe: How to enable unicode? Pin
<color>Aljechin 8-Jan-06 22:26
<color>Aljechin 8-Jan-06 22:26 
GeneralRe: How to enable unicode? Pin
sunit58-Jan-06 23:06
sunit58-Jan-06 23:06 
GeneralRe: How to enable unicode? Pin
<color>Aljechin 8-Jan-06 23:23
<color>Aljechin 8-Jan-06 23:23 
GeneralRe: How to enable unicode? Pin
toxcct8-Jan-06 23:30
toxcct8-Jan-06 23:30 
GeneralRe: How to enable unicode? Pin
Prakash Nadar8-Jan-06 23:43
Prakash Nadar8-Jan-06 23:43 
GeneralRe: How to enable unicode? Pin
sunit58-Jan-06 23:54
sunit58-Jan-06 23:54 
QuestionRe: How to enable unicode? Pin
David Crow9-Jan-06 3:19
David Crow9-Jan-06 3:19 
AnswerRe: How to enable unicode? Pin
<color>Aljechin 9-Jan-06 20:22
<color>Aljechin 9-Jan-06 20:22 
GeneralRe: How to enable unicode? Pin
David Crow10-Jan-06 1:53
David Crow10-Jan-06 1:53 

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.