BantuKumar Posted January 12, 2017 Share 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 Link to comment Share on other sites More sharing options...
Sherzod Posted January 12, 2017 Share Posted January 12, 2017 Hi, Which version are you using?! Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 12, 2017 Administrators Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 12, 2017 Administrators Share 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 Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted January 12, 2017 Share Posted January 12, 2017 Hello Bantu this is about IQMS. They solved this issue. Quote Link to comment Share on other sites More sharing options...
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.