If you have RC file for you resource DLL you can use Resource Builder
(http://www.resource-builder.com) to create Resource Only DLL from this RC
file.
--
Best regards.
TsiLang Components Suite - Best Globalization Tool 2004
http://www.tsilang.com
"Christophe" <christo...@cirtes.fr> wrote in message
news:46e90c2b$1...@newsgroups.borland.com...
1. I use etm60.exe (from C++Builder 6) to create the .etm-project. Add all
.dfm and .rc files to the project save it with the same name as the
bcb-project in the same folder as the bcb-project (because of point 3).
C:\MyProject\proj1.cbproj --> C:\MyProject\proj1.etm
2. Let etm60.exe create a new (C++Builder 6) ressource project file in the
language subfolder (C:\MyProject\FR\proj1.FR)
3. Create a new menu item in BCB2007 to open etm.exe (not etm60.exe because
etm.exe has some new extra features) directly.
- Tools \ Configure tools... \ Add...
- Title: &Translation Manager
- Program: C:\Programme\CodeGear\RAD Studio\5.0\bin\etm.exe
- Parameter: $PATH($PROJECT)$NAMEONLY($PROJECT).etm
This new menu item under Tools lets you directly open the etm project of
the active bcb project.
4. Compile the translated ressources with C++Builder 6.
There is only one (huge) problem: sometimes when putting new controls on a
form they are not automatically taken into the etm project.
The solution is the following:
1. Move (not copy) your .dfm and .dfn files from C:\MyProject\FR into an
other folder C:\MyProject\FR\Save
2. Open etm.exe and let it recreate the files
3. Close etm.exe
4. Move only the .dfm file from C:\MyProject\FR\Save back to
C:\MyProject\FR. The old .dfn file can be deleted now.
5. Reopen etm.exe. Every thing that has been translated and was different
than in the original language is still translated. Every other line needs to
be re-translated.
Very complicated I know but the only way to use BCB 2007 in a country with
more than one single language.
Regards
"Christophe" <christo...@cirtes.fr> schrieb im Newsbeitrag
news:46e90c2b$1...@newsgroups.borland.com...
Thanks,
i found an other way to translate my project:
1.
i create a french project (my base language) (.bpr) with builder 6 and i use expert dll ressource from builder 6 to create my english project(.ENG)
2.
i open my project group with bcb 2007
i remove all dfm file from the .ENG project
i copy all .cpp and .h file from the initial project into the ENG folder (near the english .dfm and .dfn)
i add these .cpp (from the ENG folder) to my project.ENG
3.
i must add inclusion file on .ENG project:($BDS)\include\vcl
put on RTTI/exceptions and clean the destructor options (C++ compil)
i remove RTL dynamic from the both project
save all.
4.
i am able to build the ENG project under BDS 2007
more over it is possible to use etm to translate all dfm:
5.
i must put environment langage in my base language (french)
choose the base language: french.
the root folder is the folder of the french project
add the new language (check English)
add the .dfm, .rc,.drc file from the french project
6.
i translate and save the etm project (.bdsproj)
i update the translated form (under project, under file tab)
save all
7.
i am able to build the ENG project under BDS 2007
that's all folk!
when i add a new form on my french project i add it on my etm project, i translate it save.
i put the initial .cpp and .h into the ENG folder and add the .cpp to my .ENG project (BDS2007) and i build it
it works.
so i think there is an easier way by mixing this method to your's
bests regards
Christophe