Results 1 to 4 of 4

Thread: How to make Pascal API wrappers?

  1. #1

    How to make Pascal API wrappers?

    Are there any tutorials on making Pascal wrappers for C APIs? I've searched all over the internet but couldn't find any.

  2. #2

    Re: How to make Pascal API wrappers?

    Try to look for reading about h2pas
    Peregrinus, expectavi pedes meos in cymbalis
    Nullus norvegicorum sole urinat

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Re: How to make Pascal API wrappers?

    Unfortunately there is no real easy way to make Pascal wrappers from C headers. Programs like h2pas very well may do a decent job for simple things, but every so often you'll run into something a bit more complicated and you have to know enough C and Pascal to be able to do what the headers is doing in both languages.

    Oh and a good knowledge of C data types compared to Pascal data types will help immensely too!
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #4

    Re: How to make Pascal API wrappers?

    Rudy's articles may help a lot
    http://rvelthuis.de/articles/index.html
    From brazil (:

    Pascal pownz!

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
  •  
Comodo SSL