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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!cyclone02.ams2.highwinds-media.com!news.highwinds-media.com!npeersf02.ams.highwinds-media.com!newsfe05.ams2.POSTED!40385e62!not-for-mail From: Per Sandberg User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Using Win32Com with Ada References: <99a42cc0-eb5f-446e-a78f-ec49fe6f2208@q14g2000vbn.googlegroups.com> <4a11bada$1_1@news.bluewin.ch> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Complaints-To: abuse@WWWSpace.NET NNTP-Posting-Date: Tue, 19 May 2009 04:48:12 UTC Date: Tue, 19 May 2009 05:53:21 +0200 Xref: g2news2.google.com comp.lang.ada:5924 Date: 2009-05-19T05:53:21+02:00 List-Id: This is currently part of GNATPro just "g++ -c blaa.h -fdump-ada-spec" or "gcc -c blaa.h -fdump-ada-spec" and out comes blaa_h.ads. Suppose that wil be part of GNAT GPL 2000 /Per Hang Xie wrote: > I'm doing some migration from VC to GNAT, and writing my own binding of > DirectShow (pure COM based) is not that hard. > > Someone should compose a tool to convert C header files to GNAT's ads, > I'm just lazy doing so as I've done more of my jobs manually ... > > -Hang > > "Gautier" wrote in message > news:4a11bada$1_1@news.bluewin.ch... >> Petter: >> >>> Some time ago I tried to get GNATCOM working, but I failed. >> >> It could be the same problem as GWindows: it works, but the installer >> doesn't on recent GNATs, so you need a pre-built source and tool set >> (*). A workaround is to build it with GNAT 3.15p, then use the stuff >> with any newer GNAT (for GWindows, this trick works through 2008 GPL >> at least). >> ___ >> (*) or be patient: the repackaging of GNATCOM and GWindows are in >> progress; perhaps the svn version is usable. >> _________________________________________________________ >> Gautier's Ada programming -- http://sf.net/users/gdemont/ >> NB: For a direct answer, e-mail address on the Web site! >