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,4a5d8d9981922ae X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.post.ch!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: ObjectAda 7.2.2 and VB6 DLLs Date: Thu, 22 Nov 2007 15:18:59 +0100 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <474590c7$1@news.post.ch> References: NNTP-Posting-Host: 194.41.146.1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: atlas.ip-plus.net 1195744802 19263 194.41.146.1 (22 Nov 2007 15:20:02 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Thu, 22 Nov 2007 15:20:02 +0000 (UTC) User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-Original-NNTP-Posting-Host: w01iwt.pnet.ch X-Original-Trace: 22 Nov 2007 15:23:03 +0200, w01iwt.pnet.ch Xref: g2news1.google.com comp.lang.ada:18567 Date: 2007-11-22T15:18:59+01:00 List-Id: 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