From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3a7da1d9b7f5ba84,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe05.iad.POSTED!7564ea0f!not-for-mail From: Steven Shack Newsgroups: comp.lang.ada Message-ID: <2009120301362116807-stevenshack@stevenshackcom> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Loadable module in Ada. User-Agent: Unison/1.8.1 NNTP-Posting-Host: 24.68.41.114 X-Complaints-To: internet.abuse@sjrb.ca X-Trace: newsfe05.iad 1259832981 24.68.41.114 (Thu, 03 Dec 2009 09:36:21 UTC) NNTP-Posting-Date: Thu, 03 Dec 2009 09:36:21 UTC Date: Thu, 3 Dec 2009 01:36:21 -0800 Xref: g2news1.google.com comp.lang.ada:8295 Date: 2009-12-03T01:36:21-08:00 List-Id: I'd like to create a loadable module in an Ada program. I've searched around, but can't seem to find any examples of this. Say I've got some calculation or a driver and I'd like to have multiple different versions of it with the same interface. I'd like to be able to load and replace these modules at runtime. In C I'd do this with pic code, dlsym and function pointers. I can't seem to find the equivalent in Ada. Can anyone help me out? Thanks