[Lazarus] Using Visual C++ .libs?

Prado, Renato (R.P.) rprado at visteon.com
Wed Jun 1 15:26:29 CEST 2011


> A C++ library requires real code, that allows for communication with
the
> C++ objects. But if the header files already contain a C style
> interface, no such wrapper code is required; in this case only a
> translation from .h into .pas is required.
Yep, that is probably the case

> I have no experience in mixing FPC and C/C++ code into one executable.
> Both languages come with their own RTL and other libraries, which can
> not always coexist (initialization issues...). When the linker does
not
> reqest more C-specific modules than available with FPC, it might work.
That's the main point

> A DLL can be built with the Visual C++ linker, so that above issues go
> away.
I think that will be the plan then, thanks again




More information about the Lazarus mailing list