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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6da0fabceb4bf9bf X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-10 16:21:47 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!wn54feed!worldnet.att.net!attbi_s53.POSTED!not-for-mail From: "Jeff C," Newsgroups: comp.lang.ada References: Subject: Re: Win32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: NNTP-Posting-Host: 24.147.74.171 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s53 1076458907 24.147.74.171 (Wed, 11 Feb 2004 00:21:47 GMT) NNTP-Posting-Date: Wed, 11 Feb 2004 00:21:47 GMT Organization: Comcast Online Date: Wed, 11 Feb 2004 00:21:47 GMT Xref: archiver1.google.com comp.lang.ada:5411 Date: 2004-02-11T00:21:47+00:00 List-Id: "Jerry van Dijk" wrote in message news:m2u11y3aic.fsf@jvdsys.demon.nl... > > "Brian Catlin" 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)