This year I have re-written our company system using Firemonkey to run on our Macs.
I use the TMS UI Pack in my app and everything was running smoothly in Dephi XE7
I recently upgraded to Tokyo 10.2 and there now seems to be a problem with Invalid Pointer Operation after printing a PDF using the TMS library.
Main Form
Call Modal Form to show record
Pint PDF
But closing Modal Form sometimes causes Invalid Pointer Operation.
ViewSO := TViewSO.Create( nil );
try
ViewSO.ShowModal;
finally
ViewSO.Free; // is this causing a pointer error in 10.2???
end;
I don't do much in the way of object creation, most things are components dropped on to forms. When printing I follow he examples from TMS and they work brilliantly for us
It's worth mentioning that I can open and close the form over and over without the problem, so I guess I'm doing something when I print that Tokyo doesn't tolerate that XE7 did!
We have investigated this here but are not able to reproduce this. Please send us a simple sample that demonstrates this issue so we can investigate here what is going wrong.