comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Problems Linking With a C++ Lib
Date: Thu, 5 Nov 2015 17:05:35 -0700
Date: 2015-11-05T17:05:35-07:00	[thread overview]
Message-ID: <n1gqo9$iue$1@dont-email.me> (raw)
In-Reply-To: <3ca7150b-f54f-4cd1-82d9-5744cea53aad@googlegroups.com>

On 11/05/2015 04:57 PM, Aurele wrote:
> 
> extern "C" {																	
> int DI_InitDirectInput( HWND hWnd, HINSTANCE hInstance );
> int DI_InitDirectInput( HWND hWnd, HINSTANCE hInstance )
>   {
>   ...
>   };
> }
> 
> GPS (or the builder) finds the library but not the reference.  The library works well if I use the ObjectAda IDE to build the main.
> 
> Any thoughts?

Where is the 'extern "C"' code located?

-- 
Jeff Carter
"Unix and C are the ultimate computer viruses."
Richard Gabriel
99


  reply	other threads:[~2015-11-06  0:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05 23:57 Problems Linking With a C++ Lib Aurele
2015-11-06  0:05 ` Jeffrey R. Carter [this message]
2015-11-06  0:11   ` Aurele
2015-11-06  0:56     ` Jeffrey R. Carter
2015-11-06  1:27       ` Aurele
2015-11-06  1:59         ` Jeffrey R. Carter
2015-11-06  3:07           ` Aurele
2015-11-06  3:33             ` Jeffrey R. Carter
2015-11-06  3:57               ` Aurele
2015-11-06  4:28               ` Aurele
2015-11-07  3:10                 ` Aurele
2015-11-09 18:35 ` jsquirek
2015-11-09 20:52 ` Aurele
replies disabled

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