Delphi extension

Peter Hansen peter at engcorp.com
Thu Jun 24 17:00:11 CEST 2004


Donald L. Dietmeyer wrote:

> I was given a  libxx.so  that was probably written in Delphi.
> I need to wrap it so that I can call the functions/procedures
> of the library from Python.  I tried the usual extension
> technique compiling a C file.  I don't get anything meaningful
> back when I call, so it doesn't work, or I am missing some
> critical point.  I have spent a good deal of time searching
> the net, and found one or two comments about doing the job,
> but no evidence that anyone has done it.
> 
> I would appreciate any suggestions or advice.

Would ctypes work for you?  http://starship.python.net/crew/theller/ctypes/



More information about the Python-list mailing list