I use C++ builder and have a string table in an .rc-file. I have tried the procedure in the FAQ (http://www.tsilang.com/delphiglobalizat ... faq.html#9), but can't get it to work. Have I understood things correctly if I can go on using the same ID:s as before. For example, if I start with:
LoadStr(ID_MYSTRING);
after the wizard has been run and I've implemented the workaround function:
LoadStr2(ID_MYSTRING);
and then I should be able to get hold of the correct translation?
Resource wizard and strings in .rc-files
Hello Daniel,
We can't find a reason why under BCB 2007 the overload for resource loading doesn't work.
In order to solve the problem you would need the following (which requires re-build of TsiLang package unfortunately):
1. Open siComp.Pas file.
2. Locate function SiLoadResString(ResStringRec: PResStringRec): string; function.
3. Copy it's declaration to the head of unit (right before the implementation keyword).
4. Re-build TsiLang_2007r package.
5. in your code in LoadStr2() function replace LoadResString() with siLoadResString();
Please let us know if this helped.
P.S. I've duplicated this by email.
We can't find a reason why under BCB 2007 the overload for resource loading doesn't work.

1. Open siComp.Pas file.
2. Locate function SiLoadResString(ResStringRec: PResStringRec): string; function.
3. Copy it's declaration to the head of unit (right before the implementation keyword).
4. Re-build TsiLang_2007r package.
5. in your code in LoadStr2() function replace LoadResString() with siLoadResString();
Please let us know if this helped.
P.S. I've duplicated this by email.
Best regards,
Igor Siticov.
Igor Siticov.