int GB.LoadFile ( const char * path , long lenp , char ** addr , long * len )
Loads a file into memory.
This functions returns TRUE if the load has failed, and sets the internal interpreter error flag. So, if you want to raise an error, just return from the method or the property immediately after.
You must use this function if you want to access a file located into the project, i.e. a file having a relative path.
See also
GB.FileName GB.ReleaseFile