comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: ObjectAda 7.2.2 and VB6 DLLs
Date: Thu, 22 Nov 2007 15:18:59 +0100
Date: 2007-11-22T15:18:59+01:00	[thread overview]
Message-ID: <474590c7$1@news.post.ch> (raw)
In-Reply-To: <a776adcc-f9de-49b6-aea1-e7754e71a864@d27g2000prf.googlegroups.com>

axtens schrieb:
> I've added something for GNAT/GPL at
> http://codeaholic.blogspot.com/2007/11/ada-gnatgpl-creating-dlls-for-vb6.html
> and have some for GNAT/GCC ready.

Well done. Just a hint: If you use a project file you won't need the
call to "gnatdll" any more as "gnat make" would do it all for you.

See: http://mkutils.googlecode.com/svn/trunk/MK_Utils.gpr

Also note the of

   for Library_Options     use (
         "-Wl,../../../MK_Utils.def",
         "-Wl,--enable-stdcall-fixup",
         "-Wl,--kill-at");        -- Remove @nn from exported symbols

that get's rid of the linker warnings.

I often wonder why M$ introduced the @nn post-fix only to *not* use it
but strip it off again. After all it is a usefull features to make the
code more robust. Ahh I forgot: robust is against M$ strategie.

Martin

-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



  reply	other threads:[~2007-11-22 14:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-20  8:26 ObjectAda 7.2.2 and VB6 DLLs axtens
2007-11-22  3:14 ` axtens
2007-11-22 14:18   ` Martin Krischik [this message]
2007-11-23  1:50     ` axtens
2007-11-23  2:38   ` axtens
2007-12-04 17:10 ` adaworks
2007-12-05  5:45   ` axtens
2007-12-05 21:50   ` Dirk Craeynest
2007-12-07  7:21     ` adaworks
2007-12-07 18:57       ` dave.wood
2007-12-08  8:20         ` Pascal Obry
2007-12-08 10:09           ` dave.wood
2007-12-10 16:26             ` adaworks
2007-12-08  2:59       ` Randy Brukardt
replies disabled

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