[Lazarus] Can a C++ program use a freepascal object?
pascaldragon at googlemail.com
Wed Jun 6 13:46:35 CEST 2012
Am 06.06.2012 11:55, schrieb Xiangrong Fang:
> I am playing with CURL in FPC. My question is, if I write a wrapper for
> curl, e.g. TEasyCURL, is it possible to put this class into a shared
> library and let a C++ program use it (either static or dynamic link)?
No, as C++ and FPC classes have a different layout of the internal class
structures which point to their methods and fields.
More information about the Lazarus