I use a TTMSFNCTaskDialog for error messages. When the error message is too large, the application crashes immediately.
Example:
dlgSyncError.Title := titelSyncError+' '+titel;
dlgSyncError.Appearance.ContentColor := TColorRec.Red;
dlgSyncError.Content := msg+'<br><br><b>'+reloadDatabaseMsg+'</b>';
case dlgSyncError.Execute of
This Functions crash with a biger "msg". I fixed it with
dlgSyncError.Content := copy(msg, 1, 200)+'<br><br><b>'+reloadDatabaseMsg+'</b>';