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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c19c20af5e77a05d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-11 20:18:38 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: MSVC to Rational Apex DLL Date: 11 Jul 2001 20:18:38 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0107111918.83ad87c@posting.google.com> References: NNTP-Posting-Host: 205.232.38.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 994907918 7243 127.0.0.1 (12 Jul 2001 03:18:38 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 12 Jul 2001 03:18:38 GMT Xref: archiver1.google.com comp.lang.ada:9850 Date: 2001-07-12T03:18:38+00:00 List-Id: john.conrad@cdcgy.com (John) wrote in message news:... > After hours of digging through every reference I could find to calling > an Ada DLL from C (including David Botton's GNAT example), I'm still > not there. I end up with an access violation in VADS_KRN.DLL - my > guess is that it's an elaboration problem....??? > > Does anyone have an example of MSVC (v6) calling an Apex (v2.0.2) DLL? > Or the Apex equivalent to the GNAT adainit() sample? Surely this is something that Rational can help you sort out? As you point out, it can certainly be done in GNAT, and it would seem surprising if it cannot be done with other compilers. Usually the vendor should be the best source of help with compiler specific problems of this nature.