From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: StdCall and pragma Import_Function
Date: Fri, 19 Aug 2011 18:51:35 +0200
Date: 2011-08-19T18:51:35+02:00 [thread overview]
Message-ID: <118ybwhr53151$.fjqabmpo2k23$.dlg@40tude.net> (raw)
In-Reply-To: 332032a4-0acf-459d-a743-e90e823ca5af@glegroupsg2000goo.googlegroups.com
On Fri, 19 Aug 2011 09:24:33 -0700 (PDT), Felix Krause wrote:
> pragma Import (StdCall, C_Function, "cFunc");
> pragma Import_Function (Internal => C_Function, External => "cFunc", Mechanism => (Param => Value));
> end P;
Stdcall is the calling convention used by Windows API. If you want to call
a C function then most likely it rather should be C, i.e.
pragma Import (C, ...);
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2011-08-19 16:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 16:24 StdCall and pragma Import_Function Felix Krause
2011-08-19 16:51 ` Dmitry A. Kazakov [this message]
2011-08-19 17:07 ` Felix Krause
2011-08-19 18:58 ` Dmitry A. Kazakov
2011-08-19 19:23 ` Felix Krause
2011-08-19 19:43 ` Dmitry A. Kazakov
2011-08-19 20:07 ` Felix Krause
2011-08-19 20:37 ` Dmitry A. Kazakov
2011-08-19 20:45 ` Jeffrey Carter
2011-08-21 18:25 ` Felix Krause
2011-08-20 8:04 ` Georg Bauhaus
2011-08-20 9:23 ` Dmitry A. Kazakov
2011-08-19 17:26 ` Adam Beneschan
2011-08-19 17:38 ` Felix Krause
2011-08-19 18:10 ` Jeffrey Carter
2011-08-19 18:37 ` Felix Krause
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox