On 14 Apr 2011, at 14:49, Wimpie Nortje wrote:
How do one access the array of const members for a function declared
as
cdecl? Eg.
function A(args: array of const): integer;cdecl;
You can't. Development FPC versions refuse to compile the above
declaration. It was a bug in previous versions that it didn't: http://wiki.freepascal.org/User_Changes_Trunk#Array_of_const_parameters_and_cdecl_routines
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal