BantuKumar Posted January 12, 2017 Posted January 12, 2017 Project MyApplication.EXE raised exception class EAssertionFailed with message 'TUniSessionWorkerThread: Can not call this method from a different thread. (H:\Framework\uniGUI\Source\Core\uniGUISessionManager.pas, line 1071). Quote
Administrators Farshad Mohajeri Posted January 12, 2017 Administrators Posted January 12, 2017 This happens if you try to call a Blocking Modal window inside OnShow or OnCreate event of a form. For example ShowModal function or MessageDlg fundtion Quote
Administrators Farshad Mohajeri Posted January 12, 2017 Administrators Posted January 12, 2017 Solution is to call non-blocking version of window: procedure TUniForm1.UniFormShow(Sender: TObject); begin ShowMessage('', nil); // nil given as callback end; Quote
Hayri ASLAN Posted January 12, 2017 Posted January 12, 2017 Hello Bantu this is about IQMS. They solved this issue. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.