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

C / C++ / MFC

 
QuestionPOINT Draw Export/Code Pin
saiyuk6=721-Dec-09 19:25
saiyuk6=721-Dec-09 19:25 
AnswerRe: POINT Draw Export/Code Pin
CPallini21-Dec-09 20:42
mveCPallini21-Dec-09 20:42 
GeneralRe: POINT Draw Export/Code Pin
saiyuk6=724-Dec-09 9:37
saiyuk6=724-Dec-09 9:37 
QuestionDetecting when video is done with media player (in MFC) Pin
Joe Woodbury21-Dec-09 11:57
professionalJoe Woodbury21-Dec-09 11:57 
AnswerRe: Detecting when video is done with media player (in MFC) Pin
Joe Woodbury21-Dec-09 12:42
professionalJoe Woodbury21-Dec-09 12:42 
Questionre: missing mutex events Pin
Alan Kurlansky21-Dec-09 10:59
Alan Kurlansky21-Dec-09 10:59 
AnswerRe: re: missing mutex events Pin
KingsGambit21-Dec-09 19:18
KingsGambit21-Dec-09 19:18 
GeneralRe: re: missing mutex events Pin
Alan Kurlansky22-Dec-09 2:55
Alan Kurlansky22-Dec-09 2:55 
AnswerRe: re: missing mutex events Pin
Rajesh R Subramanian21-Dec-09 20:45
professionalRajesh R Subramanian21-Dec-09 20:45 
GeneralRe: re: missing mutex events Pin
Alan Kurlansky22-Dec-09 2:59
Alan Kurlansky22-Dec-09 2:59 
QuestionDebugging a C++ program in Visual Studio 2005 Pin
loyal ginger21-Dec-09 5:33
loyal ginger21-Dec-09 5:33 
AnswerRe: Debugging a C++ program in Visual Studio 2005 Pin
Abhi Lahare21-Dec-09 5:44
Abhi Lahare21-Dec-09 5:44 
GeneralRe: Debugging a C++ program in Visual Studio 2005 Pin
loyal ginger21-Dec-09 6:03
loyal ginger21-Dec-09 6:03 
GeneralRe: Debugging a C++ program in Visual Studio 2005 Pin
Abhi Lahare21-Dec-09 6:19
Abhi Lahare21-Dec-09 6:19 
GeneralRe: Debugging a C++ program in Visual Studio 2005 Pin
loyal ginger21-Dec-09 6:27
loyal ginger21-Dec-09 6:27 
Questioncan you simplify the function by #define? [modified] Pin
includeh1021-Dec-09 0:16
includeh1021-Dec-09 0:16 
AnswerRe: can you simplify the function by #define? Pin
Richard MacCutchan21-Dec-09 0:36
mveRichard MacCutchan21-Dec-09 0:36 
GeneralRe: can you simplify the function by #define? Pin
includeh1021-Dec-09 1:30
includeh1021-Dec-09 1:30 
GeneralRe: can you simplify the function by #define? Pin
Richard MacCutchan21-Dec-09 1:50
mveRichard MacCutchan21-Dec-09 1:50 
GeneralRe: can you simplify the function by #define? Pin
includeh1021-Dec-09 3:21
includeh1021-Dec-09 3:21 
GeneralRe: can you simplify the function by #define? Pin
Richard MacCutchan21-Dec-09 5:54
mveRichard MacCutchan21-Dec-09 5:54 
QuestionRe: can you simplify the function by #define? Pin
CPallini21-Dec-09 1:55
mveCPallini21-Dec-09 1:55 
AnswerRe: can you simplify the function by #define? Pin
Maximilien21-Dec-09 2:38
Maximilien21-Dec-09 2:38 
GeneralRe: can you simplify the function by #define? Pin
Nelek21-Dec-09 3:09
protectorNelek21-Dec-09 3:09 
GeneralRe: can you simplify the function by #define? Pin
Abhi Lahare21-Dec-09 5:41
Abhi Lahare21-Dec-09 5:41 
Not sure about the overall design of your app, but I suppose you have english in place and you are going for I18N

Few options:

1) generate one resource dll per language, disadvantages, you will end up in 10 different files in your directory which you are already doing.

2) generate no dll (copy all the strings into the English id and then on you can make copies for each language. the advantage of the approach is you will have same ids, for all the languages. and you can make a wrapper function to load a string like
LoadMyString(langId,ID_OF_STRING_FROM_STRINGTABLE) and setting langID based on user selection or certain criteria for whole UI session.
disadv: you need all string information at compile time.

Regards
Abhi

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.