3 ms·
I 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 language
by vram22 9y ago
I 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.