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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,889b07ac9e6ac6a3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.129.105 with SMTP id nv9mr413208pbb.3.1330602212664; Thu, 01 Mar 2012 03:43:32 -0800 (PST) Path: h9ni26509pbe.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: "Rego, P." Newsgroups: comp.lang.ada Subject: Re: Using dll from a C# code Date: Thu, 1 Mar 2012 03:41:55 -0800 (PST) Organization: http://groups.google.com Message-ID: <24322569.1107.1330602115411.JavaMail.geo-discussion-forums@ynjd19> References: <3622013.252.1330516368698.JavaMail.geo-discussion-forums@ynkz21> <189548.691.1330568785536.JavaMail.geo-discussion-forums@ynlt17> <2d391aa2-23ed-4c29-96a5-3292ae13bfb7@l7g2000vbw.googlegroups.com> NNTP-Posting-Host: 201.7.145.1 Mime-Version: 1.0 X-Trace: posting.google.com 1330602212 12035 127.0.0.1 (1 Mar 2012 11:43:32 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 1 Mar 2012 11:43:32 +0000 (UTC) In-Reply-To: <2d391aa2-23ed-4c29-96a5-3292ae13bfb7@l7g2000vbw.googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=201.7.145.1; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-03-01T03:41:55-08:00 List-Id: > Are actually using the .NET-targetting GNAT ? Actually no. I am using native .NET for generating the dll. So I just run C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319 /t:library simple.cs And soon after I run gnatmake main -largs -lsimple > I have the impression you are using the plain Windows one, it should > be something like dotnetgnatmake.exe - look into your C:\GNAT\2011\bin > directory. > I suppose you also installed GNAT for .NET ? I don't have it installed. Should I use it to create the dll?