home *** CD-ROM | disk | FTP | other *** search
- ## load_string_service
- # Load the string service described in the registry key:
- # Software\\Tomasello Software\\WinCron\\services\str"
- # This entry must have a key named "library" that has a value which is the name of the
- # DLL to load to implement the service.
- # Other optional keys are "module" and "path"
- {
- -name load_string_service
- -start
- -stop
-
- # load the actual service library
- -action -print Loading string Service...
- -action -onerror load_fail
- -action -load -service str
-
- # call the meta function to get the DLL version information
- -action -onerror version_fail
- -action -str STRING.VERSION
- -action -print %STRING.VERSION%
- }
-
- # load service failed
- {
- -name load_fail
- -action -print Loading the string service failed with error:
- -action -print %TG.LAST_ERROR%
- -action -return abort
- }
-
- # get version failed
- {
- -name version_fail
- -action -print string Library did not implement the standard version call:
- -action -print %TG.LAST_ERROR%
- -action -return abort
- }
-