View Full Version : How to make Pascal API wrappers?
Polar
11-09-2009, 03:21 PM
Are there any tutorials on making Pascal wrappers for C APIs? I've searched all over the internet but couldn't find any.
JSoftware
11-09-2009, 03:40 PM
Try to look for reading about h2pas
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!
arthurprs
12-09-2009, 03:53 PM
Rudy's articles may help a lot
http://rvelthuis.de/articles/index.html
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.