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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC 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-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!wn11feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: win32ada coverage Reply-To: no to spamers (No@email.given.org) References: <785addc4-95e3-48d6-ba9f-e698d26922b5@s12g2000prc.googlegroups.com> X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Fri, 03 Apr 2009 22:51:27 GMT NNTP-Posting-Host: 12.64.30.41 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1238799087 12.64.30.41 (Fri, 03 Apr 2009 22:51:27 GMT) NNTP-Posting-Date: Fri, 03 Apr 2009 22:51:27 GMT Organization: AT&T Worldnet Xref: g2news1.google.com comp.lang.ada:4430 Date: 2009-04-03T22:51:27+00:00 List-Id: Win32Ada provides only a subset of common routines. Version 3.0 was created back in 1999, so any additional routines that was added in XP or Vista must 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 of wrapper routines before calling the imported Win32 API. You 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-e698d26922b5@s12g2000prc.googlegroups.com>, xiehang@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