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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,74b21a555064febc X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.germany.com!newsfeed2.scan-plus.net!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: GNAT/gcc 3.4.5 and Windows DLLs (newbie) Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <8926e044-20f7-45e8-a778-54a141c3d16b@b40g2000prf.googlegroups.com> Date: Thu, 15 Nov 2007 10:17:49 +0100 Message-ID: <1dojkbm3xnc5f$.1n12v9iczjb7m.dlg@40tude.net> NNTP-Posting-Date: 15 Nov 2007 10:10:47 CET NNTP-Posting-Host: 42eff4cf.newsspool2.arcor-online.net X-Trace: DXC=3FRFN`@QB6dOKO]LCQ@0g`A9EHlD;3Ycb4Fo<]lROoRa4nDHegD_]ReZL0mk>8>T5kDNcfSJ;bb[eFCTGGVUmh?dLK[5LiR>kgbWMVmZB On Thu, 15 Nov 2007 00:27:56 -0800 (PST), axtens wrote: > Has anything improved in the area of writing DLLs in Ada that can be > accessed from Visual Basic 6? Hmm, that isn't Ada-specific problem. I remotely remember that there were some issues of using import libraries with VB. Was it 6? I don't remember the details. I guess you should use stdcall call convention and then mangle names of DLL entry points in some way. But it isn't Ada or GCC issue. I would need to do the same with other compilers too. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de