Loading Dynamically:Shared Objects
Muthiah Annamalai <[email protected]> Sat, 2 Oct 2004 11:26:02 +0530
| Newsgroups | gmane.comp.gnu.octave.graphics |
|---|---|
| Message-ID | <[email protected]> |
Greetings to the Octave Graphics members, I would like to know how we must load several functions from outside octave, dynamically, at once. I used octave_dynamic_loader::load() for all the separate functions even if they are in the same library file, I have compiled. How do I make Octave load all the functions present in the .DLL / .SO file ? Is there a plugin-architecture or something like that Ill have to follow? Please help. Right now, I name the shared object as gtk_init.oct and call the function gtk_init() from octave. Then within the gtk_init() function in the library I call all the functions present in the .SO/.DLL using octave_dynamic_loader::load(). I know this isnt efficient, but I helpless. Thanks in Advance. Cheers Muthu. Life is beautiful. http://cybernetics.freewebspace.com ------------------------------------------------- This mail sent through IMP(http://www.nitt.edu)