I have a question regarding the way to link a Pascal module to C code. For example, if in the following module:
Module ctest interface;
Export ctests = all;
Procedure MyCProc(I:Integer); external name 'mycproc';
End. { Interface }
Module ctest Implementation;
End; { Implementation }
If mycproc() is implemented in cproc.c, is it better to put {$L cproc.c} in the Interface or in the Implementation Section? Both work, but is a way better than the other?
Regards,
Pascal Viandier pascal@accovia.com