How to use Crtl in a Delphi unit in a C++Builder project? (or link to C++Builder C runtime library)
- by Craig Peterson
I have a Delphi unit that is statically linking a C .obj file using the {$L xxx} directive. The C file is compiled with C++Builder's command line compiler. To satisfy the C file's runtime library dependencies (_assert, memmove, etc), I'm including the crtl unit Allen Bauer mentioned here.
unit FooWrapper;
interface
implementation
uses
Crtl;…