Results 1 to 6 of 6

Thread: stuck converting python headers to pascal

  1. #1

    stuck converting python headers to pascal

    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

    http://groups.google.com/group/dexro...on+headers.zip
    http://dexrow.blogspot.com/2007/09/land-of-cigo-roguelike-w-source.html

  2. #2

    stuck converting python headers to pascal

    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
    From brazil (:

    Pascal pownz!

  3. #3

    I will try that

    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??
    http://dexrow.blogspot.com/2007/09/land-of-cigo-roguelike-w-source.html

  4. #4

    stuck converting python headers to pascal

    There is alredy a conversion for Python to Pascal

    This link should help.

    http://www.atug.com/andypatterns/pythonDelphiTalk.htm
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  5. #5

    stuck converting python headers to pascal

    I realise that the previous link was for Delphi, the raw headers can be used in Free Pascal (with a few tweaks) I think.
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  6. #6

    stuck converting python headers to pascal

    Delphi headers usually have to be cleaned up for 64-bit issues.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •