You are not logged in.
Pages: 1
After updating mormot I've "EVariantDispatchError" in TDocVariant.DoFunction on FPC. I see that 'Add' function is disabled by {$ifndef FPC} directive with reason explained:
https://synopse.info/fossil/info/7bbf6c8e97992026.
Is it possible to partially restore that functions, eg by using more specific directive for known faulty scenarios? For me that functions worked well (win32, linux x86_64).
Regards
Offline
It is disabled because late-binding functions are buggy with FPC.
This is what is explained: "they triggered random GPF so are unsafe due to RTL restrictions".
And random GPF are pretty difficult to debug... by definition... I guess it worked well by chance on your targets.
Please use _Safe() and TDocVariantData on FPC, as documented.
Offline
Pages: 1