3 ms·
It is easy to create bindings to the C-libraries you need, see http://wiki.freepascal.org/Creating_bindings_for_C_libraries http://wiki.freepascal.org/Creating_
by dubst3pp4 9y ago
It is easy to create bindings to the C-libraries you need, see http://wiki.freepascal.org/Creating_bindings_for_C_libraries http://wiki.freepascal.org/Creating_bindings_for_C_libraries.
But FreePascal has many native libraries for all kinds of stuff...
- vram22 9y agoI haven't actually tried that, but my guess (even without checking that link) is that you are right, because: 1) C and Pascal are not too different as languages go (in some respects, both being sort of Algol-family languages), and: 2) I remember from earlier Windows API/SDK days that many Windows APIs had signatures/prototypes that went something like "long far pascal", and remember reading in computer magazines and source code listings about Pascal vs. C calling conventions (it may have been something like the order in which function parameters are pushed onto the stack before the call is executed, who cleans up the stack - caller or callee, etc.). https://en.wikipedia.org/wiki/X86_calling_conventions https://en.wikipedia.org/wiki/X86_calling_conventions e.g. see the cdecl vs pascal conventions.