comp.lang.ada
 help / color / mirror / Atom feed
From: Kevin K <kevink4@gmail.com>
Subject: Re: Linking with GNAT on Windows
Date: Tue, 24 Nov 2009 17:36:06 -0800 (PST)
Date: 2009-11-24T17:36:06-08:00	[thread overview]
Message-ID: <49ebd7e7-6f21-4446-84bd-2c68580162de@g26g2000yqe.googlegroups.com> (raw)
In-Reply-To: 4b0c1fd9$0$911$ba4acef3@news.orange.fr

What I ended up doing when I needed to link some C code compiled under
Visual C++ into an Ada main (due to the code using APIs that weren't
supported under the SDK in GNAT environment) was to build a DLL with
the appropriate declaration.  The downside is that you can't debug it
that way.  When debugging is necessary, I need to create a driver in C
within Visual C++ and debug it there.




  reply	other threads:[~2009-11-25  1:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 16:26 Linking with GNAT on Windows Maciej Sobczak
2009-11-24 17:34 ` Dmitry A. Kazakov
2009-11-24 18:03   ` Pascal Obry
2009-11-25  1:36     ` Kevin K [this message]
2009-11-25  8:43   ` Maciej Sobczak
2009-11-25  9:46     ` Dmitry A. Kazakov
2009-11-25 12:47       ` Maciej Sobczak
2009-11-25 13:44         ` Dmitry A. Kazakov
replies disabled

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