I would like to call functions from a .dll compiled in C.
I have the .dll itself and the .h file.
I understand I have to write my own .pas file that will include the interface to the .dll.
What shold be the format of the functions there?
How do I use callback functions in that .dll - specifically, how do I send a pointer of one of my (delphi) functions to that .dll?