BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Swig for Delphi?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Non-Technical
View previous topic :: View next topic  
Author Message
mamcx
Guest





PostPosted: Mon May 14, 2007 7:14 am    Post subject: Swig for Delphi? Reply with 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...
Back to top
ikra
Guest





PostPosted: Mon May 14, 2007 8:12 am    Post subject: Re: Swig for Delphi? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Non-Technical All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.