|
From the example shipped with BoTran, DLL Tutor from examples shipped with C6.2
Note: In the ABC multi-dll example, I had to add the ABC Free template to exclude classes from compiling to stop some other 3rdParty dll's and ABC classes from compiling in to get the app to compile. Basically you need to be able to compile your dll's and exe cleanly before you add BoTran, as it will not (did not) cause this problem. See the appropriate documentation for the 3rdParty add-on causing the compile errors.
Root or Data Dll
Remember to Check all the boxes for all the apps to Enable Run-Time Translation.
Use the standard settings for your file controls.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ You need to check the box for Multi-DLL, and Export Global Data in this root or data dll. All the rest of the dll's you will have just the Multi-DLL box checked.
Aim all your dll's at the same Default Translation(*.BTL) and ENV(*.BTS) file for BoTran. I recommend using the Main dll name for this, as these fields default to the app Name. If you load the Main dll, and run the BoTran JumpStart Utility, it will create these files for you, and you can easily load them with the ellipse button in each dll.
Remember to run the JumpStart utility on each app, aiming it at the same BTL file so all text is added to the same Translation file for all the apps. You can run the JumpStart utility again after changes to the app to add any new strings, etc to the Language file or pickup changes to your ENV TRN files. Running the utility again will add any new strings to the BTL file, and update the BTS file to any changes. It will not change any existing entries in the Language file. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ On the hooks, classes tab, Check the Hooks you want to use. In ABC, Check the boxes to use BoTran for the Translator, and If you want to Translate global errors. Legacy Does not have this option, but has a checkbox to Translate the Default Clarion Print Preview Screen. This option will substitute a BoTran Print Preview Screen that can be translated.
|