comp.lang.ada
 help / color / mirror / Atom feed
From: "Peter Hend�n" <phenden@tdab.com>
Subject: Re: Help with GNAT, WinNT, StdCall, dll, exported names
Date: Thu, 11 Oct 2001 16:23:22 GMT
Date: 2001-10-11T16:23:22+00:00	[thread overview]
Message-ID: <_Hjx7.34$x5.5171@newsb.telia.net> (raw)
In-Reply-To: un12ye26h.fsf@gsfc.nasa.gov

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

"Stephen Leake" wrote:
> You don't mention what C compiler you are using. I have found that
> different C compilers (and different Ada compilers) have different
> naming conventions, usually having to do with prepending and
> underscore. Here's my matrix:
Yes, the problem is related to prefixing with _ and suffixing with @nn,
but the service that uses my dll, expects the name Foobar, without
any pre- or suffix. I can easily accmplish this with the C convention,
but it seems impossible with the StdCall convention.

Please note that I have no control whatsoever over how my dll
is called.

Thanks,

Peter H.

--
Peter Hend�n           http://www.algonet.se/~phenden
ICQ: 14672398
Teknisk Dokumentation AB          http://www.tdab.com






  reply	other threads:[~2001-10-11 16:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-11 11:26 Help with GNAT, WinNT, StdCall, dll, exported names Peter Hend�n
2001-10-11 11:44 ` David Botton
2001-10-11 16:06   ` Peter Hend�n
2001-10-11 19:03     ` David Botton
2001-10-11 13:28 ` Stephen Leake
2001-10-11 16:23   ` Peter Hend�n [this message]
2001-10-11 19:24   ` David Botton
2001-10-11 23:28     ` Peter Hend�n
2001-10-11 23:46       ` David Botton
2001-10-12  9:48         ` Peter Hend�n
2001-10-11 17:59 ` Sergey Koshcheyev
replies disabled

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