comp.lang.ada
 help / color / mirror / Atom feed
From: xiehang@gmail.com
Subject: Re: win32ada coverage
Date: Fri, 3 Apr 2009 17:52:42 -0700 (PDT)
Date: 2009-04-03T17:52:42-07:00	[thread overview]
Message-ID: <5549d2b9-4203-4f3c-a24d-4e7fac8ed9ed@x29g2000prf.googlegroups.com> (raw)
In-Reply-To: PpwBl.99161$4m1.62931@bgtnsc05-news.ops.worldnet.att.net

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 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-e698d2692...@s12g2000prc.googlegroups.com>, xieh...@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
>
>




  reply	other threads:[~2009-04-04  0:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-03 21:08 win32ada coverage xiehang
2009-04-03 22:51 ` anon
2009-04-04  0:52   ` xiehang [this message]
2009-04-04  6:38   ` Jerry van Dijk
2009-04-05  4:30     ` xiehang
2009-04-05  5:58       ` anon
2009-04-05 10:44       ` Jerry van Dijk
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox