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

C / C++ / MFC

 
GeneralRe: Multiple string tables in exe Pin
Andre xxxxxxx27-Jun-06 6:22
Andre xxxxxxx27-Jun-06 6:22 
GeneralRe: Multiple string tables in exe Pin
Joe Woodbury27-Jun-06 6:29
professionalJoe Woodbury27-Jun-06 6:29 
GeneralRe: Multiple string tables in exe Pin
Andre xxxxxxx27-Jun-06 6:35
Andre xxxxxxx27-Jun-06 6:35 
GeneralRe: Multiple string tables in exe Pin
Joe Woodbury27-Jun-06 6:47
professionalJoe Woodbury27-Jun-06 6:47 
GeneralRe: Multiple string tables in exe Pin
Andre xxxxxxx27-Jun-06 8:30
Andre xxxxxxx27-Jun-06 8:30 
AnswerRe: Multiple string tables in exe Pin
Zac Howland27-Jun-06 7:21
Zac Howland27-Jun-06 7:21 
GeneralRe: Multiple string tables in exe Pin
Andre xxxxxxx27-Jun-06 8:29
Andre xxxxxxx27-Jun-06 8:29 
GeneralRe: Multiple string tables in exe Pin
Zac Howland27-Jun-06 9:20
Zac Howland27-Jun-06 9:20 
Then your only hope is to put every language you want to support into your string table use an offset when loading strings. That is, every call to LoadString would look something like this:

CString str("");<br />
str.LoadString(IDS_MYSTRING + (iCurrentLanguage * ms_Offset));


This isn't very flexible since you have to make sure that a given string is offset exactly for each language.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac
Questionstring tables Pin
big_denny_20027-Jun-06 5:43
big_denny_20027-Jun-06 5:43 
AnswerRe: string tables Pin
Neil Van Eps27-Jun-06 5:48
Neil Van Eps27-Jun-06 5:48 
AnswerRe: string tables Pin
sach!!27-Jun-06 18:55
sach!!27-Jun-06 18:55 
AnswerRe: string tables Pin
Hamid_RT27-Jun-06 19:04
Hamid_RT27-Jun-06 19:04 
Questionwhat is a source control? [modified] Pin
big_denny_20027-Jun-06 5:34
big_denny_20027-Jun-06 5:34 
AnswerRe: what is a source control? Pin
Chris Losinger27-Jun-06 5:52
professionalChris Losinger27-Jun-06 5:52 
AnswerRe: what is a source control? Pin
Jun Du27-Jun-06 6:09
Jun Du27-Jun-06 6:09 
AnswerRe: what is a source control? Pin
James R. Twine27-Jun-06 6:58
James R. Twine27-Jun-06 6:58 
AnswerRe: what is a source control? Pin
Andre xxxxxxx27-Jun-06 11:19
Andre xxxxxxx27-Jun-06 11:19 
QuestionPointer Theory Pin
Richard Andrew x6427-Jun-06 5:31
professionalRichard Andrew x6427-Jun-06 5:31 
AnswerRe: Pointer Theory Pin
Chris Losinger27-Jun-06 5:54
professionalChris Losinger27-Jun-06 5:54 
GeneralRe: Pointer Theory Pin
Richard Andrew x6427-Jun-06 6:00
professionalRichard Andrew x6427-Jun-06 6:00 
GeneralRe: Pointer Theory Pin
Zac Howland27-Jun-06 7:40
Zac Howland27-Jun-06 7:40 
GeneralRe: Pointer Theory Pin
Chris Losinger27-Jun-06 8:20
professionalChris Losinger27-Jun-06 8:20 
GeneralRe: Pointer Theory Pin
Zac Howland27-Jun-06 9:17
Zac Howland27-Jun-06 9:17 
GeneralRe: Pointer Theory Pin
Richard Andrew x6427-Jun-06 9:38
professionalRichard Andrew x6427-Jun-06 9:38 
AnswerRe: Pointer Theory Pin
Jun Du27-Jun-06 5:55
Jun Du27-Jun-06 5:55 

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.