I have done quite a bit with my FE OrcaFlex product . You have two options for linking to your C code from Delphi: static or dynamic. I bind statically because it simplifies distribution and version control. But this is really quite a trick to make it work statically, and you have to rely on a number of undocumented aspects of Delphi.
, . C DLL. Borland C . BCC55. Borland C , 8087, Delphi. MSVC, , MS . Borland C . , , , , .
, C C, . Delphi, cdecl.
, , - . , - (, Delphi) . PChar ( PAnsiChar PWideChar, , Delphi 2009 ).