On Sun, 30 Jan 2005, Marco van de Voort wrote:

> >   // Call C++ function and pass to it our "special" interface
> >   Result := D3DXLoadMeshHierarchyFromX_FPC_{$}(Filename, MeshOptions,
> > pD3DDevice, AllocI, pUserDataLoader, ppFrameHierarchy, ppAnimController);
> >
> >   Dec(PInteger(AllocI)^, $C); // Patch interface VMT - BACK
> > end;
> >
> > But I really want FPC be compatible with Delphi in this situation.
>
> If I recall correctly, this was all done because the linker had problems with
> symbols with negative offsets.

This is correct. In combination with smartlinking, I think.

Michael.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to