View Full Version : stuck converting python headers to pascal

27-09-2007, 12:04 AM
I started to convert the header files for python.h over to pascal so that python can be embeded in pascal.. I have no idea where to look to deal with the errors I get from h2pas. I.E. what to do with what doesn't convert over.. Is there a guide on this somewhere? ?? What I have so far is at


27-09-2007, 02:00 AM
Have a look at MMM-Experts header translation

Info -> http://mmm-experts.com/Products.aspx?ProductId=3
Download -> http://mmm-experts.com/Downloads.aspx?ProductId=3

27-09-2007, 02:50 PM
I will look into that... I have both borland and microsoft c if it is easier to embed the .dll in another .dll and define the .h in a less complex way.... Is there a good tutorial around for that??

27-09-2007, 03:31 PM
There is alredy a conversion for Python to Pascal

This link should help.


27-09-2007, 04:50 PM
I realise that the previous link was for Delphi, the raw headers can be used in Free Pascal (with a few tweaks) I think.

28-10-2007, 12:05 PM
Delphi headers usually have to be cleaned up for 64-bit issues.