Are there any tutorials on making Pascal wrappers for C APIs? I've searched all over the internet but couldn't find any.
Are there any tutorials on making Pascal wrappers for C APIs? I've searched all over the internet but couldn't find any.
Try to look for reading about h2pas
Peregrinus, expectavi pedes meos in cymbalis
Nullus norvegicorum sole urinat
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!
Rudy's articles may help a lot
http://rvelthuis.de/articles/index.html
From brazil (:
Pascal pownz!
Bookmarks