DialogService.ShowMessage('hello') work well DialogService.MessageDialog('hello2', 'TMsgDlgType.mtInformation', 'mbYesNo', 'TMsgDlgBtn.mbYes', 0) resultt "MessageDialog" called with invalid arguments. Error: Expected and actual arguments are incompatible