Abaksoft Posted May 26, 2020 Posted May 26, 2020 Hello, Why UniThreadTimer1 (From ServerModule) raises AV Exception when calling UniMainModule ? procedure TUniServerModule.UniThreadTimer1Timer(Sender: TObject); begin UniThreadTimer1.Lock; try //============== // Why ? MainModule.UniMainModule.DoSomething1; //=> AV Exception ! // And this = OK // MainModule.DoSomething2; //============== finally UniThreadTimer1.Release; end; end; Thx UniThreadTimer.7z Quote
Abaksoft Posted May 26, 2020 Author Posted May 26, 2020 Oh...., I understand Now. ServerModule, no acces UniMainModule procedure as MainModule is a Session ! Sorry for the question. 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.