[fpc-pascal]Linking with C
John Coppens
jcoppens at usa.net
Sun Sep 29 06:41:07 CEST 2002
Hi all.
I was trying to link with a C library, and everything went well till one
function popped up that didn't wan't to work. Till I investigated the
source library code, and found that it was in fact a macro that referenced
fields from a struct.
The only solution I found, was to write a few C functions that call the
macro, then I link to that C proggie. Hardly elegant... Is there a another
solution to this?
Thanks
John
More information about the fpc-pascal
mailing list