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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA 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.189.197 with SMTP id gk5mr638615pbc.1.1330607803446; Thu, 01 Mar 2012 05:16:43 -0800 (PST) Path: h9ni26754pbe.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 01 Mar 2012 14:16:08 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Using dll from a C# code 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> <24322569.1107.1330602115411.JavaMail.geo-discussion-forums@ynjd19> In-Reply-To: <24322569.1107.1330602115411.JavaMail.geo-discussion-forums@ynjd19> Message-ID: <4f4f7699$0$6583$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 01 Mar 2012 14:16:09 CET NNTP-Posting-Host: 55d25a03.newsspool3.arcor-online.net X-Trace: DXC=fm1MicY1LAHA@P]\DMcF=Q^Z^V3H4Fo<]lROoRA8kFfNFnc\616M64>JLh>_cHTX3jMH3nO44@SoTN X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2012-03-01T14:16:09+01:00 List-Id: On 01.03.12 12:41, Rego, P. wrote: >> 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? Isn't a .NET DLL actually different from a more traditional DLL, i.e., a thing to be JIT compiled into executable code?