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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ac4ab8f617408d6a,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!r28g2000vbp.googlegroups.com!not-for-mail From: markp Newsgroups: comp.lang.ada Subject: adainit link error Date: Wed, 25 Feb 2009 11:59:11 -0800 (PST) Organization: http://groups.google.com Message-ID: <1a3ca512-837f-43b5-b76f-6b60b4722c53@r28g2000vbp.googlegroups.com> NNTP-Posting-Host: 155.104.37.18 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1235591951 9172 127.0.0.1 (25 Feb 2009 19:59:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 25 Feb 2009 19:59:11 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r28g2000vbp.googlegroups.com; posting-host=155.104.37.18; posting-account=jTWBqwoAAABUn9jGA4xSu9A8sRwazGmt User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:4770 Date: 2009-02-25T11:59:11-08:00 List-Id: Hello, I am trying to call an Ada dll from visual c++. I've followed all the steps I could find and I get unresolved references in my link. I have "for Library_Auto_Init use "False";" and "for Library_Name" use "junk";" specified in my .gpr file. I see junkinit in my .def file which is what I gather I should be calling. I get link errors however. Can somebody help? Thank you.