Click here to Skip to main content
15,890,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: file list in mfc [modified] Pin
_AnsHUMAN_ 23-Jun-06 0:52
_AnsHUMAN_ 23-Jun-06 0:52 
QuestionRe: file list in mfc Pin
David Crow23-Jun-06 2:54
David Crow23-Jun-06 2:54 
AnswerRe: file list in mfc Pin
Pandele Florin23-Jun-06 5:27
Pandele Florin23-Jun-06 5:27 
AnswerRe: file list in mfc Pin
ftsOne23-Jun-06 7:28
ftsOne23-Jun-06 7:28 
QuestionUnicode support Pin
eusto23-Jun-06 0:13
eusto23-Jun-06 0:13 
AnswerRe: Unicode support Pin
Ștefan-Mihai MOGA23-Jun-06 2:17
professionalȘtefan-Mihai MOGA23-Jun-06 2:17 
AnswerRe: Unicode support Pin
David Crow23-Jun-06 2:56
David Crow23-Jun-06 2:56 
AnswerRe: Unicode support Pin
Pandele Florin23-Jun-06 5:09
Pandele Florin23-Jun-06 5:09 
Unicode means using "wide chars".So any code using char* will need to be checked&MODIFIED .You should particulary pay attention to the places where you pass the size of the string in bytes since
strlen(string)is the good size (in bytes) for non unicode but not for unicode.
Basically you should(VC6.0):
1)Add an "Unicode Debug" and an "Unicode Release" configuration (Build/configurations)
2)define UNICODE and _UNICODE in the *project settings* AND REMOVE the define _MBCS for the defined configurations.Also Change the entrypoint(Tab"Link",Category:"output")from empty to "wWinMainCRTStartup"(if you are using MFC)

3)Surround any text in code with _T() like : _T("text here")
4)Search in MSDN "Routine Mappings" to find out what string functions you should replace and with what(Ex:_tcslen instead of strlen)and relace them.Replace any "char" with "TCHAR" if it is used for strings.
5)Change the font for all dialogs to one that supports Unicode (Like Arial,Tahoma)
6)Pray to god you haven't missed something,Compile,Fail to link,notice that you have dependencies that are not unicode and start all over again.
Sorry for the bad news.
GeneralRe: Unicode support Pin
eusto23-Jun-06 15:00
eusto23-Jun-06 15:00 
QuestionInserting HBitmap object in CRichEditCtrl Pin
Farhat Aisha23-Jun-06 0:12
Farhat Aisha23-Jun-06 0:12 
AnswerRe: Inserting HBitmap object in CRichEditCtrl Pin
Hamid_RT23-Jun-06 0:25
Hamid_RT23-Jun-06 0:25 
QuestionProblem in WH_CBT hook [modified] Pin
Javagal Srinath23-Jun-06 0:03
Javagal Srinath23-Jun-06 0:03 
AnswerRe: Problem in WH_CBT hook Pin
ROWALI23-Jun-06 1:33
ROWALI23-Jun-06 1:33 
QuestionQuestion in basic C++ Pin
LordsAngel22-Jun-06 23:55
LordsAngel22-Jun-06 23:55 
AnswerRe: Question in basic C++ Pin
Cedric Moonen23-Jun-06 0:03
Cedric Moonen23-Jun-06 0:03 
GeneralRe: Question in basic C++ [modified] Pin
Stephen Hewitt23-Jun-06 1:05
Stephen Hewitt23-Jun-06 1:05 
GeneralRe: Question in basic C++ Pin
Emilio Garavaglia23-Jun-06 1:10
Emilio Garavaglia23-Jun-06 1:10 
AnswerRe: Question in basic C++ Pin
Javagal Srinath23-Jun-06 0:16
Javagal Srinath23-Jun-06 0:16 
General[deleted] Pin
toxcct23-Jun-06 0:23
toxcct23-Jun-06 0:23 
GeneralRe: Question in basic C++ Pin
Javagal Srinath23-Jun-06 0:32
Javagal Srinath23-Jun-06 0:32 
General[Message Deleted] Pin
toxcct23-Jun-06 0:37
toxcct23-Jun-06 0:37 
GeneralRe: Question in basic C++ Pin
Javagal Srinath23-Jun-06 1:06
Javagal Srinath23-Jun-06 1:06 
GeneralRe: Question in basic C++ Pin
Stephen Hewitt23-Jun-06 1:14
Stephen Hewitt23-Jun-06 1:14 
GeneralRe: Question in basic C++ Pin
Nish Nishant23-Jun-06 4:50
sitebuilderNish Nishant23-Jun-06 4:50 
AnswerRe: Question in basic C++ Pin
Maximilien23-Jun-06 2:12
Maximilien23-Jun-06 2:12 

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.