 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
mamcx Guest
|
Posted: Mon May 14, 2007 7:14 am Post subject: Swig for Delphi? |
|
|
Swig (http://www.swig.org/) is a software to produce wrappers from C/C++
in diferent languages, but not pascal.
If I wanna acces to librsync (a c++ library of the rsync protocol) exist
something like Swig for Delphi? I never, ever, use C++ in my life (I'm
soooo lucky!) but working in a off-site database backup tool and finding
that not exist a open code in Delphi for the problem of sending the
deltas of large files, I have the option to write the librsync in
delphi or interfacing it (the thing I prefer!), but have no clue in how
do that.
Anyway, despite my desire, I wonder what are the equivalent of swig for
delphi... |
|
| Back to top |
|
 |
ikra Guest
|
Posted: Mon May 14, 2007 8:12 am Post subject: Re: Swig for Delphi? |
|
|
mamcx pravi:
| Quote: | Swig (http://www.swig.org/) is a software to produce wrappers from C/C++
in diferent languages, but not pascal.
If I wanna acces to librsync (a c++ library of the rsync protocol) exist
something like Swig for Delphi? I never, ever, use C++ in my life (I'm
soooo lucky!) but working in a off-site database backup tool and finding
that not exist a open code in Delphi for the problem of sending the
deltas of large files, I have the option to write the librsync in
delphi or interfacing it (the thing I prefer!), but have no clue in how
do that.
Anyway, despite my desire, I wonder what are the equivalent of swig for
delphi...
|
There is h2pas.exe in FPC distribution if you have C headers.
I my case have successfuly converted one C library (not C++).
HTH, Ivo |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|