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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,93f13c4bf2e19e49 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-22 09:45:32 PST Path: archiver1.google.com!news2.google.com!postnews1.google.com!not-for-mail From: threestoners@yahoo.com (Brant) Newsgroups: comp.lang.ada Subject: Re: Calling Custom C Functions From Ada Date: 22 Aug 2001 09:45:32 -0700 Organization: http://groups.google.com/ Message-ID: <8e205e9b.0108220845.47acfeec@posting.google.com> References: <8e205e9b.0108211257.4c56b7d9@posting.google.com> NNTP-Posting-Host: 139.73.1.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 998498732 433 127.0.0.1 (22 Aug 2001 16:45:32 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 22 Aug 2001 16:45:32 GMT Xref: archiver1.google.com comp.lang.ada:12256 Date: 2001-08-22T16:45:32+00:00 List-Id: Thanks for your help. I got it to work. Indeed "MyFunction" was exported as "_MyFunction" even with the extern "C" command. I also had to link to the .obj file instead of the .lib file. Thanks again, Brant