comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
To: Frank Piron <frank.piron@gmail.com>
Subject: Re: Using Functions of Executable
Date: Tue, 27 Nov 2007 18:11:43 +0100
Date: 2007-11-27T18:11:45+01:00	[thread overview]
Message-ID: <474C4FCF.70202@obry.net> (raw)
In-Reply-To: <op.t2f271eihcduoe@frank>

Frank Piron a ï¿œcrit :
>  26.11.2007, 14:07 Uhr, schrieb Alexander Camek
> <Alexander.Camek@Elektrobit.com>:
> 
>> 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, <Funktion>, <Symbolname>).
>>>
>>> Try: Export(Stdcall, <Funktion>, <Symbolname>)
>>
>> Will that work under linux, too?
>> Because I need it platform independent.
> 
> No. Unfortunately creating shared libraries depends on the OS.

Yes it will, RTFM :) Stdcall will be translated as C convention on
GNU/Linux.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



  reply	other threads:[~2007-11-27 17:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-22  9:18 Using Functions of Executable Alexander Camek
2007-11-22 10:18 ` Dirk Heinrichs
2007-11-26 11:15 ` Frank Piron
2007-11-26 13:07   ` Alexander Camek
2007-11-27  9:56     ` Frank Piron
2007-11-27 17:11       ` Pascal Obry [this message]
2007-11-28 10:57         ` Alexander Camek
2007-11-28 12:04         ` Martin Krischik
2007-11-28 13:12           ` Pascal Obry
2007-11-28  8:59     ` Stephen Leake
2007-11-27 13:08 ` Alexander Camek
2007-11-29 10:36 ` Alexander Camek
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox