comp.lang.ada
 help / color / mirror / Atom feed
From: Hang Xie <xiehang@gmail.com>
Subject: Re: Using Win32Com with Ada
Date: Fri, 29 May 2009 08:40:06 -0700
Date: 2009-05-29T08:40:06-07:00	[thread overview]
Message-ID: <gvovks$1vps$1@adenine.netfront.net> (raw)
In-Reply-To: <gSqQl.141672$5S3.75512@newsfe05.ams2>

It seems -fdump-ada-spec does not work quite well with header files come 
with Windows SDK - does anyone have any good experience to share? 
Specifically, I was trying to roll out DirectShow specification but 
encountered way too many errors.

I haven't tried yet but I assume it works fine on *nix or header files 
targeting gcc, anyway Windows is just 2nd (maybe 3rd) tier platform for 
most open source projects.

-Hang

Per Sandberg wrote:
> 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-29 15:40 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
2009-05-29 15:40         ` Hang Xie [this message]
replies disabled

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