delphi-xe7

Messagedlg in Delphi xe7 android

余生长醉 提交于 2019-11-27 08:14:05
问题 I m just trying to execute a sample given during the installation of Delphi xe7, the MessageAlerts on android platform, unfortunately it does not working, it gives the following error message: Blocking Dialogs not implemented in this platform procedure TMessageAlertsForm.btnMultiButtonAlertClick(Sender: TObject); begin { Show a multiple-button alert that triggers different code blocks according to your input } case MessageDlg('Choose a button:', System.UITypes.TMsgDlgType.mtInformation, [

What could cause “No mapping for the Unicode character exists in the target multi-byte code page”?

浪尽此生 提交于 2019-11-27 06:42:44
问题 I have a bug report showing an EEncodingError . The log points to TFile.AppendAllText . I call TFile.AppendAllText is this procedure of mine: procedure WriteToFile(CONST FileName: string; CONST uString: string; CONST WriteOp: WriteOpperation; ForceFolder: Boolean= FALSE); // Works with UNC paths begin if NOT ForceFolder OR (ForceFolder AND ForceDirectoriesMsg(ExtractFilePath(FileName))) then if WriteOp= (woOverwrite) then IOUtils.TFile.WriteAllText (FileName, uString) else IOUtils.TFile