Maptitude GISDK Help |
Compiles a Caliper Script resource file.
LoadResourceFile(string ui_db_name, string filename, string flags)
Argument |
Contents |
ui_db_name |
The full path and filename, with the .dbd extension, of the UI Database into which the resource file is compiled |
filename |
The full path and filename of the resource file that is compiled |
flags |
User-defined compilation flags |
If ui_db_name is null, the resource file is compiled into the current UI database.
If the UI Database or the resource file is in the program folder, the full path is not needed for that argument.
Only a macro that is part of the current interface can compile a resource file into the current interface.
The UI Database must already exist. To create a new UI Database, use the GISDK Toolbox or call the stand-alone version of the resource compiler; for more information, see Compiling Resources.
LoadResourceFile(, "mymacros.rsc", )
LoadResourceFile(my_xfac, "mymenus.rsc", )
Error Type |
Meaning |
Error |
There are errors in the resource file |
NotFound |
The resource file does not exist |
©2025 Caliper Corporation | www.caliper.com |