From: "David Botton" <David@Botton.com>
Subject: Re: Getting GNAT Ada DLL to work with MSVC++?
Date: 2000/02/10
Date: 2000-02-10T00:00:00+00:00 [thread overview]
Message-ID: <fxyo4.801$d8.7359521@news4.usenetserver.com> (raw)
In-Reply-To: 38A24D1B.109879BA@mail.earthlink.net
* Creating GNAT Dlls and using them from C (van Dijk & Marceau)
http://www.adapower.com/articles/howto-gdllc.html
Make sure that you have done an extern "c" {} on all your imports in your
C++ code
David Botton
A Schoepel wrote in message <38A24D1B.109879BA@mail.earthlink.net>...
>I've 'successfully' created the DLL in GNAT, have a library
>file and DLL file. The Microsoft VC++ compiler gives me an
>unresolved external symbol error when I link my C++ code
>with the DLL. I'm using CPP convention in the export
>pragmas, have the correct definitions, identified the import
>library in the MSVC++ compiler. All the typical stuff.
>What's even weirder is that the Windows environment can find
>the DLL's function names when I use QuickView.
>
>Has anyone successfully linked a GNAT DLL through the MSVC++
>linker? Did you encounter any weirdnesses like this? Have
>I missed some linking or binding options in GNAT? Help?!
>
>Andrew
>
next prev parent reply other threads:[~2000-02-10 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-09 0:00 Getting GNAT Ada DLL to work with MSVC++? A Schoepel
2000-02-10 0:00 ` David Botton [this message]
2000-02-10 0:00 ` A Schoepel
2000-02-10 0:00 ` Craig Spannring
2000-02-10 0:00 ` Robert Dewar
2000-02-10 0:00 ` A Schoepel
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox