Re: Dynamic Plug-in Loading with Ada
- From: Mark Lorenzen <mark.lorenzen@xxxxxxxxxxx>
- Date: 28 Jun 2005 20:30:12 +0200
Preben Randhol <randhol+cla@xxxxxxx> writes:
> I don't know if you have seen this paper:
>
> http://www.gnat.com/pressroom_20.php#
>
Yep - I have read it.
> The paper explains the procedure for doing this in Windows. Does anybody
> know if one could do the same in Linux with shared libraries?
It should not be hard to port the example given in the paper to
Linux. Take a look at the man page for dlopen(). It describes how to
open (load), close (unload) a shared object in Linux. The function
similiar to Win32.Winbase.GetProcAddress on line 23 in the example, is
called dlsym() in Linux.
The technique using dlopen() and friends is used by fx. the web
browser Firefox to load plugins.
>
> Thanks in advance
>
> Preben
- Mark Lorenzen
.
- References:
- Dynamic Plug-in Loading with Ada
- From: Preben Randhol
- Dynamic Plug-in Loading with Ada
- Prev by Date: Re: No deques?
- Next by Date: Re: Apex and Ada
- Previous by thread: Dynamic Plug-in Loading with Ada
- Next by thread: Re: Dynamic Plug-in Loading with Ada
- Index(es):
Relevant Pages
|