[Lazarus] Using Visual C++ .libs?

Prado, Renato (R.P.) rprado at visteon.com
Wed Jun 1 14:13:57 CEST 2011


> You'll have to implement an wrapper, that allows to access the objects
> and their methods by mere (non-OO) subroutines. That wrapper will have
> to be written in the language of the library (here: C++), so that it
can
> use the objects provided by the library, and can call their methods.
The
> headers of the wrapper have to be converted into a unit (library?),
for
> use from OPL code.
> 
> DoDi
By wrapper you mean generating a unit translating the interface from the
.h right? After I got the unit, how can I link the .lib into my project?
I would not like to create a DLL in Visual C++ with the .lib inside just
to be able to use the .lib functions within Lazarus.

Thanks for the help.




More information about the Lazarus mailing list