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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,74b21a555064febc,start X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!b40g2000prf.googlegroups.com!not-for-mail From: axtens Newsgroups: comp.lang.ada Subject: GNAT/gcc 3.4.5 and Windows DLLs (newbie) Date: Thu, 15 Nov 2007 00:27:56 -0800 (PST) Organization: http://groups.google.com Message-ID: <8926e044-20f7-45e8-a778-54a141c3d16b@b40g2000prf.googlegroups.com> NNTP-Posting-Host: 165.228.152.196 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1195115276 23454 127.0.0.1 (15 Nov 2007 08:27:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 15 Nov 2007 08:27:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b40g2000prf.googlegroups.com; posting-host=165.228.152.196; posting-account=1W9SuAoAAAApKJ8N7QNszANYOyWIVzjG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9,gzip(gfe),gzip(gfe) Content-Disposition: inline Xref: g2news1.google.com comp.lang.ada:18406 Date: 2007-11-15T00:27:56-08:00 List-Id: Hello everyone. Despite being a newbie to Ada, I find myself having to start out in the deep end. Has anything improved in the area of writing DLLs in Ada that can be accessed from Visual Basic 6? I've tried out the code at http://www.tertullian.org/rpearse/ada_dll/ada_dll.htm#GNAT_compiling and have proved to myself that, yes, you can call the code from C++ (but that's not because you're doing it via the DLL mechanism, but rather via the LIB) and you can't call from VB6 (because it is trying to use the DLL interface rather than the LIB one). Is there any point in upgrading to gcc 4? uname -a --> MINGW32_NT-5.1 XI 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown Kind regards, Bruce.