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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.36.118.132 with SMTP id z126mr6458622itb.48.1506892008107; Sun, 01 Oct 2017 14:06:48 -0700 (PDT) X-Received: by 10.157.36.129 with SMTP id z1mr156486ota.3.1506892008020; Sun, 01 Oct 2017 14:06:48 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.unit0.net!peer03.am4!peer.am4.highwinds-media.com!peer01.fr7!futter-mich.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!v62no2168785itd.0!news-out.google.com!p6ni2994itp.0!nntp.google.com!v62no2173260itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 1 Oct 2017 14:06:47 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:18f:900:f900:98c8:d16:d98b:b2a; posting-account=AvekzAoAAABj-TclKcOWQmXwA49MFPGX NNTP-Posting-Host: 2601:18f:900:f900:98c8:d16:d98b:b2a User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9885a3fd-8ffa-4076-ba1f-db2f8035e0dc@googlegroups.com> Subject: The best possible way to call a function in a shared library From: John Smith Injection-Date: Sun, 01 Oct 2017 21:06:48 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Body-CRC: 2260566488 X-Received-Bytes: 1763 Xref: news.eternal-september.org comp.lang.ada:48266 Date: 2017-10-01T14:06:47-07:00 List-Id: I've recently come across this example on rosettacode: http://rosettacode.org/wiki/Call_a_function_in_a_shared_library#Ada I have a project that's building a DLL. There is a neighboring project fil= e that builds an executable and needs to make use of the DLL. Is it possib= le to include the DLL in the application through the 2nd project file? Or = would I need to do this through the code in the application explicitly (bec= ause it's a dynamically loaded library)?