comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeff C," <jcreem@yahoo.com>
Subject: Re: Win32
Date: Wed, 11 Feb 2004 00:21:47 GMT
Date: 2004-02-11T00:21:47+00:00	[thread overview]
Message-ID: <vAeWb.842$jk2.2810@attbi_s53> (raw)
In-Reply-To: m2u11y3aic.fsf@jvdsys.demon.nl


"Jerry van Dijk" <somename@nospam.demon.nl> wrote in message
news:m2u11y3aic.fsf@jvdsys.demon.nl...
>
> "Brian Catlin" <BrianC@sannas.org.bad> writes:
>
> > I need to write an image processing app that reads frames from an Intel
CS330
> > USB camera on WinXP.  I was planning on using either the Windows Image
> > Acquisition (WIA) APIs or the TWAIN APIs.
>
> Hmmm, I am not familiar with this camera, but TWAIN is by now obsolete.
> >
> > Can someone recommend a Win32 binding (thick or thin)?  I looked on
AdaPower,
> > but a lot of the information on Win32 is a few years old, and may not be
up to
> > date
>
> Unfortunately the Ada community is not interested in the Win32 API. Your
best
> bet is either to write the code in another language (for example, c++) and
> compile it to an Ada usable DLL, or construct a binding yourself to that
part
> of the Win32 API you need.
>
> -- 


Try getting something that has a COM interface and auto generate a binding
with bindcom (from www.adapower.com)

For example, running the dll inside the library here

http://vbnet.mvps.org/index.html?code/imageapi/mswaidll.htm

produced a pretty readable binding. (assuming you are used to win32 code)





  parent reply	other threads:[~2004-02-11  0:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-07  7:34 Win32 Brian Catlin
     [not found] ` <m2u11y3aic.fsf@jvdsys.demon.nl>
2004-02-11  0:21   ` Jeff C, [this message]
2004-02-11 11:52   ` Win32 Tim Rowe
2004-02-11 15:40     ` Win32 Frank J. Lhota
2004-02-11 16:11       ` Win32 Preben Randhol
2004-02-12 12:23         ` Win32 Jeff C,
2004-02-13  1:14           ` Win32 Stephen Leake
2004-02-13  3:47             ` Win32 Jeff C,
2004-02-14  1:56               ` Win32 Stephen Leake
2004-02-12  1:50     ` Win32 tmoran
     [not found]     ` <m2ekt1k411.fsf@jvdsys.demon.nl>
2004-02-13 13:59       ` Win32 Frank J. Lhota
2004-02-14  1:57         ` Win32 Stephen Leake
2004-02-13  0:37 ` Win32 Gautier Write-only
replies disabled

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