[comp.sys.next] Dynamic linking

pfkeb@ebnextk.SLAC.Stanford.EDU (Paul Kunz) (03/03/91)

   I learnt an interesting tidbit about dynamically linking classes into
a running application at the last BaNG SIG meeting.   The objc_load() function
(I hope I got the spelling right) takes as its first argument a NULL terminated
array of strings of object file names with fully specified path.  The newly
loaded Class will resolve its external references from what is already
in memory or the standard libraries if they were linked with the -u option.

All of this is clearly documented and /NextDeveloper/Examples/Acceptor
shows you how in detail.   What I learnt that was new was that you
can put a library in the NULL terminated array of strings given to
objc_load.  This is just what I needed for my Applications, since my
dynamically loaded class might be just a front end to some FORTRAN code.

I haven't had a chance to try this yet, but Kevin, who wrote the dynamic
linking code, assures me it works.