> // 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. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel