David O'Brien said:

> I have done that now. Thanks for the suggestions. I still 
> have the problem with the filename though.

I noticed that your original message said:

> I have translated this as:

> function(psGridFile: PChar; lDirection: Integer; dLatitude,
> dLongitude: Double; pdLatNew, pdLongNew, pdLatAcc, pdLongAcc: PDouble):
Integer;

But the original C prototype was declared as _stdcall, which is something
that you have not included in your conversion above, nor has anyone else
mentioned it.

Missing the stdcall will certainly confuse the calling code, if indeed this
is what you are missing.

Cheers, Max.

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to