[fpc-pascal]parameter is 0x0 on callback

Marc Santhoff M.Santhoff at t-online.de
Fri Jun 4 18:02:27 CEST 2004


Am Fr, den 04.06.2004 schrieb Peter Vreman um 17:54:
> >> 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.

Maybe that was the cause for the un detectable 'internal error' problem
with 1.01.10 that made me switch to 1.9 ...

> 
> > 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.

Okay, I'm coming back on this asap.

Thank so far,
Marc






More information about the fpc-pascal mailing list