The supplied Clear Basic code must now be compiled against the forms you have imported.
When Clarify starts up it runs the routine 'initialize_app' (if one exists). Only one routine with this name will be run on client start-up. The module search_global.cbs contains an 'initialize_app' routine for this application. If some other custom application has a version of this routine, only one of these versions will execute. It is REQUIRED that you merge any existing version of 'initialize_app' into the version in module search_global.cbs. Then, replace the original version of 'initialize_app' with the merged version and recompile it. This will prevent the original version from overwriting the merged version if you recompile your original code, and it will ensure that all your custom applications will still be executed. Not doing this as specified may cause this application or previous customizations to function improperly.
Compile using command-line CBEX
Enter the following command to compile the ClearBasic code:
<CB Toolkit installation>\cbex.exe –dir search.cbi –batch –overwrite
where:
<CB Toolkit installation> is the path to the cbex.exe program.
Compile using GUI
You can also compile the code from the CBEX GUI. To open the CBEX GUI, double-click the CBEX.exe icon in your directory. Open search.cbi and click the import button. You can turn off the files you don't want to compile by selecting the row in the custom list, clicking the off radio button, and clicking the Replace button.
Note: Forms 4300 and 4303 use the same code file (4300).
When the compilation is completed, you should review the cbex.log file to check on the status of the compilation. There should be two rows for each file compiled that start with the word SUCCESS. If there are any failures, check the above instructions to make sure that your compilation environment is set up correctly.
See Also |
Next |