Am 15.06.2005 um 08:54 schrieb Stephen Deasey:
How will you load modules at startup? dlopen() etc. take a file name.
I will start with this and see if it suffices:
Tcl_FSLoadFile dynamically loads a binary code file into
memory and
returns the addresses of two procedures within that file, if
they are
defined. The appropriate function for the filesystem to
which pathPtr
belongs will be called. If that filesystem does not
implement this
function (most virtual filesystems will not, because of OS
limitations
in dynamically loading binary code), Tcl will attempt to copy
the file
to a temporary directory and load that temporary file.
Zoran