C interface?
C interface?
I'm a newbie. I feel FreeBASIC has capability to interface to any C library (DLL), right? the .bi file is just similar with .h header file in C? Any document refer this as detail info to read? Thanks!
FB supports many "features" used by some C libs like pointers, bitfields, inner udt's, udt's passed by value or returned from functions, variable-arguments and so on, but the languages aren't the same, so the headers must be translated from C to FB.
I've a translator that was used in most of the include files that come with the FB 0.13 distribution, but it's not finished and the translation isn't simple, in most cases, hand editon is needed, so you must know C and FB enough to not do any mistake.
I've a translator that was used in most of the include files that come with the FB 0.13 distribution, but it's not finished and the translation isn't simple, in most cases, hand editon is needed, so you must know C and FB enough to not do any mistake.