[fpc-devel] VMT compatibility

Marco van de Voort marcov at stack.nl
Sun Jan 30 11:50:41 CET 2005


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




More information about the fpc-devel mailing list