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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7c247e5dd8852278,start X-Google-Attributes: gid103376,public From: A Schoepel Subject: Getting GNAT Ada DLL to work with MSVC++? Date: 2000/02/09 Message-ID: <38A24D1B.109879BA@mail.earthlink.net>#1/1 X-Deja-AN: 584001536 Content-Transfer-Encoding: 7bit X-Accept-Language: en,es-MX Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@pacbell.net X-Trace: typhoon-la.pbi.net 950164052 63.198.146.83 (Wed, 09 Feb 2000 22:27:32 PST) Organization: SBC Internet Services MIME-Version: 1.0 NNTP-Posting-Date: Wed, 09 Feb 2000 22:27:32 PST Newsgroups: comp.lang.ada Date: 2000-02-09T00:00:00+00:00 List-Id: I've 'successfully' created the DLL in GNAT, have a library file and DLL file. The Microsoft VC++ compiler gives me an unresolved external symbol error when I link my C++ code with the DLL. I'm using CPP convention in the export pragmas, have the correct definitions, identified the import library in the MSVC++ compiler. All the typical stuff. What's even weirder is that the Windows environment can find the DLL's function names when I use QuickView. Has anyone successfully linked a GNAT DLL through the MSVC++ linker? Did you encounter any weirdnesses like this? Have I missed some linking or binding options in GNAT? Help?! Andrew