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,FREEMAIL_FROM, INVALID_MSGID,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7a0c69fb2811bb3,start X-Google-Attributes: gid103376,public From: "Philipp Boeni" Subject: Using C dll from Ada95 Date: 2000/01/11 Message-ID: <85enr5$e32$1@pollux.ip-plus.net>#1/1 X-Deja-AN: 571089619 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: news@ip-plus.net X-Trace: pollux.ip-plus.net 947577509 14434 147.86.130.209 (11 Jan 2000 07:58:29 GMT) Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) X-MSMail-Priority: Normal NNTP-Posting-Date: 11 Jan 2000 07:58:29 GMT Newsgroups: comp.lang.ada Date: 2000-01-11T07:58:29+00:00 List-Id: Hello everybody! I want to use a C-dll (created with Visual Studio 6) in Ada95 (Aonix IDE 7.1.2). Ada-Target: Command-Line App (Win32). The DLL uses the following function exportation: #define DLLExport extern "C" __cdecl (dllexport) and is NOT using any MFC enhancements... So what exactly do I need from the dll to build the Ada-project? If I use the "myDll.lib"-file (added to the Ada link-path), I receive a Link 1006-error (error seeking file, could not reach address...) and if I do not use the lib-file, the linker complains about an undefined external symbol (the exported function name, that a want to call from Ada)... Thanks for any help.... Philipp Boeni, University of Applied Sciences Aargau, Switzerland