Kevan Hashemi wrote:
I get no compiler warnings, but when I run glue from the terminal command line my output is:
The Foobar of 5 is -1985538999
You are using "int" in C and "longint" in Pascal. "Int" in C and "integer" in Pascal are both 4-byte on Mac OS X, where "longint" is 8-byte on Mac OS X. See <www.microbizz.nl/gpcdiffs.html> and section 6.2.3.2 of gpc.pdf.
Regards,
Adriaan van Os