|Previous Top Next|
Unless you are using a hand coded project, you need to apply the Global Extension template to ALL applications where you are using the classes.
If you are using hand coded projects, please check out the chapter about using Icetips Utilities in hand coded projects.
In multi-dll systems the Global Extension template must also be added to the root/data dll and the root dll app must be re-compiled to export the classes for any dependent applications.
How to add the classes to your application
To add the Icetips Utilities to your application use the "Icetips Utility Classes Global" global template to your Global Extensions. This gives you access to all the classes in that file in your application. In multi-dll systems you must apply this to the exporting (root) dll and then to any and all applications where you are going to use the Utilities and then rebuild the system starting with the exporting/root dll.
How to use the classes in your procedures
To instantiate a class in your procedure you simply declare an instance. Go to the Local Data embed and add the instantiation code, such as:
etc. You can derive the classes, but most of the methods are very specific so you generally don't need to override or derive. Some classes may need deriving to override virtual methods. The screenshot below shows how the ITUtiltyClass is instantiated in a procedure.
Once you have instantiated the class you can access the methods in it.