From graphics-request at octave dot org Sat Oct 2 01:12:28 2004 Subject: Loading Dynamically:Shared Objects From: Muthiah Annamalai To: octave-graphics at octave dot org Cc: me10143 at nitt dot edu, cl10120@nitt.edu, cl10112@nitt.edu Date: Sat, 2 Oct 2004 11:26:02 +0530 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)