Re: Export C++ class from a Borland DLL and use it in Microsoft VC
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Fri, 29 Sep 2006 13:13:28 -0400
"Markus Donath" <news1589@xxxxxxxxxxxxx> wrote in message
news:OjKWiG94GHA.5080@xxxxxxxxxxxxxxxxxxxxxxx
Using Borland C++ dlls in msvc is not possible.
I think, that's not true. For example, I use a DLL written in Intel
Fortran with Borland C++. IMHO DLL-usage is compiler - and even though -
language independant. If it really doesn't work with the MS compiler (I
did not do this), it is in fact a Microsoft problem.
If one is careful, functions that one exports from DLLs may be called by
client applications in just about any language. If that were not so, Visual
Basic and PowerBuilder applications, for example, could not make use of the
Win32 API. QED.
But, as Bruno points out there is in general no sharing of classes because
there exists no standard name mangling / decorating convention across
compilers (as if the ISO standard were in danger of becoming bloated <g>)
FWIW: If you should again find a need to use a Fortran DLL with an MS
application, this article
http://support.microsoft.com/?id=131313
explains how you should be able to do it.
Regards,
Will
.
- References:
- Export C++ class from a Borland DLL and use it in Microsoft VC
- From: Fabry
- Re: Export C++ class from a Borland DLL and use it in Microsoft VC
- From: Bruno van Dooren [MVP VC++]
- Re: Export C++ class from a Borland DLL and use it in Microsoft VC
- From: Markus Donath
- Export C++ class from a Borland DLL and use it in Microsoft VC
- Prev by Date: Re: Sample of Unmanaged C++ code calling Managed C++
- Next by Date: Re: Export C++ class from a Borland DLL and use it in Microsoft VC
- Previous by thread: Re: Export C++ class from a Borland DLL and use it in Microsoft VC
- Next by thread: Re: Export C++ class from a Borland DLL and use it in Microsoft VC
- Index(es):
Relevant Pages
|