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-Received: by 2002:a6b:a6c4:: with SMTP id p187-v6mr927745ioe.65.1527068075984; Wed, 23 May 2018 02:34:35 -0700 (PDT) X-Received: by 2002:a9d:4712:: with SMTP id a18-v6mr491055otf.1.1527068075830; Wed, 23 May 2018 02:34:35 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!v8-v6no682792itc.0!news-out.google.com!b185-v6ni686itb.0!nntp.google.com!u74-v6no701779itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 23 May 2018 02:34:35 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=101.164.108.182; posting-account=wavAeAoAAAAZF_sXSZepBukuPCBO0Zqt NNTP-Posting-Host: 101.164.108.182 References: <957ed86a-baa2-4b6b-8c62-e9e37f581f1a@googlegroups.com> <748752bf-0219-4bd4-b655-674d189df4f1@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <024aec7a-c1b4-4b16-89bb-2531bdc13af2@googlegroups.com> Subject: Re: win64ada or win_32_64_ada ? From: alby.gamper@gmail.com Injection-Date: Wed, 23 May 2018 09:34:35 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:52616 Date: 2018-05-23T02:34:35-07:00 List-Id: On Wednesday, May 23, 2018 at 2:33:58 AM UTC+10, Dan'l Miller wrote: > On Tuesday, May 22, 2018 at 11:03:55 AM UTC-5, Lucretia wrote: > > This isn't what he's asking, that link only shows how to build a compil= er. > >=20 > > He's asking if there Ada language bindings to the Win64 API, which I do= n't think there are. > >=20 > > I haven't used Windows for dev for over 10 years so I don't know the cu= rrent status, I know they have this > > XAML stuff, for which there is https://github.com/Alex-Gamper/Ada-WinRT >=20 > =E2=80=A6 I know they have this =E2=80=A2=E2=80=A2WinRT/UWP=E2=80=A2=E2= =80=A2 stuff, for which there is https://github.com/Alex-Gamper/Ada-WinRT >=20 > (There, fixed that for you.) >=20 > Ada-WinRT doesn't support XAML yet. >=20 > XAML is an optional add-on to WinRT/UWP, intended mainly for interfacing = with nontechnical UI/UX designers who lay out the UI as mock-ups without co= de behind the XAML yet. Then the UI's XAML is delivered to C# (or F# or C+= +/CX or VisualBasic) programmers to write code behind that declarative-XML = mock-up. >=20 > WinRT/UWP is the COM- & ATL-based OO replacement for Win32. Win32 & Win6= 4 are deprecated, not able to access all the new feature-sets of the Window= s operating systems since, say, Windows XP. Win64 is Win32 verbatim with p= ointers and integers widened to 64-bit. Hi Dan'l WinRT/UWP is not yet a replacement for Win32 (either 32 or 64bit based) Although the marketing blurb would make one believe it is Their are currently huge gaps in what is offered/proffered in the WinRT wit= h that offered in the Win32/64 API (samples being process creation and native services etc..) , and this is mainly to do with sandboxing WinRT applicatio= ns The issue is also somewhat blurred wrt desktop vs Store applications and th= e recently introduces WinRT/CPP bindings, since native CPP can always use the existing win32 api (but not necessarily qualify as a Windows Store app) But to answer the original question, the current Win32 Api bindings as part of the AdaCore GPL edition WILL NOT work on Win64 in 100% of cases, I have found a few errors in the Win32.Services package that need fixing Alex