leledumbo wrote:
Since it's possible to use libc's MM via cmem unit, would the opposite be
possible?

I have a "crtl.pas" which defines a few functions (malloc, calloc, free, memmove, memcpy) to help in using libraries written in C with fpc programs without needing external dependencies (msvcrt.dll on windows, for some reason that did not work for me).

However, it's a all-or-nothing situation. A program uses either this crtl unit, or it links a C library like msvcrt.dll or something similar; using both is asking for trouble.

Micha
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to