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,3e13181d651876b8 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!x29g2000prf.googlegroups.com!not-for-mail From: xiehang@gmail.com Newsgroups: comp.lang.ada Subject: Re: win32ada coverage Date: Fri, 3 Apr 2009 17:52:42 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5549d2b9-4203-4f3c-a24d-4e7fac8ed9ed@x29g2000prf.googlegroups.com> References: <785addc4-95e3-48d6-ba9f-e698d26922b5@s12g2000prc.googlegroups.com> NNTP-Posting-Host: 209.131.48.68 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1238806363 12438 127.0.0.1 (4 Apr 2009 00:52:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 4 Apr 2009 00:52:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x29g2000prf.googlegroups.com; posting-host=209.131.48.68; posting-account=MlZyyQoAAADKyeeGjhq7-IO7wNqF7Adf User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5403 Date: 2009-04-03T17:52:42-07:00 List-Id: Thanks Anon, I'm creating my own package to include those APIs for my project. -Hang > Win32Ada provides only a subset of common routines. Version 3.0 was creat= ed > back in 1999, so any additional routines that was added in XP or Vista mu= st > be added to the package or Imported into your program. > > Now, expanding win32Ada to include these new routines can be as easy as > using an "pragma Import" statement but other routines may require a set o= f > wrapper routines before calling the imported Win32 API. =A0You should be = able > to use the existing win32Ada as a guide to aid you in adding those extra = API > you need. > > One suggestion, is due to the number of Win32 API you should only to add > those routines that you need for your project. > > In <785addc4-95e3-48d6-ba9f-e698d2692...@s12g2000prc.googlegroups.com>, x= ieh...@gmail.com writes: > >I'm new to Ada, and trying to migrate a C/Win32 API program to GNAT > >+win32ada, but seems win32ada lacks of some functions like: > > >SetWindowRgn > >LoadImage > > >My question is, does win32ada binding has all win32 APIs? And if it > >does not, is there any Win32 binding provide thin layer like it? > >Further more, how tough is it to create new or update win32ada binding > >to include those missing functions? > > >Thanks, > > >-Hang > >