Programming guideline of WinDom
- NAME
-
RsrcLoad - Load a resource file in memory.
- PROTOTYPAGE
-
int RsrcLoad( char *rsrcfile);
- PARAMETERS
-
- rsrcfile:
- file name of GEM resource,
- return:
- 1 if no error, 0 else.
- DESCRIPTION
-
RsrcLoad() replaces the AES rsrc_load() function. The
resource filename can be in a TOS format (e.g. with backslash
characters) or MiNT format (e.g. with slash characters).
RsrcLoad() uses conv_path() to make the convertion. RsrcLoad()
fills in the app.ntree variable with the number of tree
contained in the resource file.
- SEE ALSO
-
RsrcFree(), conv_path()