comp.lang.ada
 help / color / mirror / Atom feed
From: Per Sandberg <per.sandberg@bredband.net>
Subject: Re: Using Win32Com with Ada
Date: Tue, 19 May 2009 05:53:21 +0200
Date: 2009-05-19T05:53:21+02:00	[thread overview]
Message-ID: <gSqQl.141672$5S3.75512@newsfe05.ams2> (raw)
In-Reply-To: <gut8d7$22nu$1@adenine.netfront.net>

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" <gautier@fakeaddress.nil> 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! 
> 



  reply	other threads:[~2009-05-19  3:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-18 10:59 Using Win32Com with Ada cedric
2009-05-18 15:32 ` Petter
2009-05-18 19:45   ` Gautier
2009-05-19  3:17     ` Hang Xie
2009-05-19  3:53       ` Per Sandberg [this message]
2009-05-29 15:40         ` Hang Xie
replies disabled

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