TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Roy J. Tellason
from: Pascal Schmidt
date: 2004-01-12 19:50:30
subject: [C] An interesting question

Hi Roy! :-)

 KK>> As far as registering the modules goes, this can not really be 
 KK>> done without your intervention at compile time, TTBOMK.
 RJT> I was thinking of a more dynamic model,  something that would be 
 RJT> handled at runtime,  actually.
On Linux, you could compile the modules as .so files and dynamically load
them using dlopen() and then dlsym() to find symbol addresses in the module
(so with a common entrypoint name, you could call the function provided by
the module). This even works for loading multiple modules which declare the
same symbol.

Ciao
Pascal

--- Msged/LNX 6.1.1
* Origin: let fun a b c d = b (c,d) in a op < 17 end 23 (1:153/401.2)
SEEN-BY: 633/267 270
@PATH: 153/401 307 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.