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: 103376,733d3008a29a0c63 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!out01a.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!uns-out.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Using Functions of Executable References: From: Stephen Leake Date: Wed, 28 Nov 2007 03:59:35 -0500 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.1 (windows-nt) Cancel-Lock: sha1:tO3ABwffYOcKhfseJykjOmokrVY= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 494e4474d2df4e05e48ed27685 Xref: g2news1.google.com comp.lang.ada:18657 Date: 2007-11-28T03:59:35-05:00 List-Id: "Alexander Camek" writes: > Hi, > >>> My Problem is that I can't export the functions given in my executable, >>> although all exported functions in the executable are decorated with >>> pragma >>> Export(C, , ). >> >> Try: Export(Stdcall, , ) > > Will that work under linux, too? > Because I need it platform independent. The conventions supported by export are defined by the compiler. So you need to read the user's guide for the compiler you will be using on all of the platforms you need to support. It is likely that the conventions will differ, in which case you need to use a tool similar to gnatprep to choose the convention for the target compiler. -- -- Stephe