Hi,
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)?
Thanks,
Shannon
--
--
___
Lazarus
Am 06.06.2012 11:55, schrieb Xiangrong Fang:
Hi,
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
Yes, using C style procedural interface. You have to (un)wrap the object
oriented code on both sides.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Can-a-C-program-use-a-freepascal-object-tp4024363p4024368.html
Sent from the Free Pascal - Lazarus
.n3.nabble.com/Lazarus-Can-a-C-program-use-a-freepascal-object-tp4024363p4024368.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http