[fpc-pascal]parameter is 0x0 on callback
Peter Vreman
peter at freepascal.org
Fri Jun 4 17:54:44 CEST 2004
>> Without a full (short) example we can't do anything.
>
> See below, I've tried to cut down the size without loosing to much
> information this time ...
>
>> > And why it worked fine on the 1.0.10 version of fpc?
>>
>> 1.9.2 uses register calling by default.
>
> I don't get that. Do you say it worked by accident?
Possibly, 1.0.10 uses a different calling convention that looks more like
cdecl.
> The code:
> ------------------------
Sorry, but is still useless because it can't be compiled. Only full
working (easy to build and run) short examples help.
Try to isolate the problem in a smaller program.
More information about the fpc-pascal
mailing list