Serg Posted July 1, 2019 Share Posted July 1, 2019 Добрый день! Правильно ли я понял: 1. ADOConnection и ADOQuery помещаем на UniGUIMainModule. 2.Каждая сессия создает свои копии этих компонент работающие только в этой сессии. 3.При закрытии сессии ничего освобождать не надо (ADOConnection и ADOQuery). 4.Соединение устанавливается при создании сессии в TUniMainModule.UniGUIMainModuleCreate 5.DataSource помещаем на MainForm Большое спасибо! Quote Link to comment Share on other sites More sharing options...
dbf_usr Posted July 1, 2019 Share Posted July 1, 2019 http://unigui.com/resources/online-documentation/developer-manual Quote Link to comment Share on other sites More sharing options...
Serg Posted July 1, 2019 Author Share Posted July 1, 2019 Я хотел коротко изложить принцип Quote Link to comment Share on other sites More sharing options...
Volk65 Posted July 1, 2019 Share Posted July 1, 2019 4 hours ago, Serg said: Правильно ли я понял: Всё верно. Общим для всех сессий является только UniServerModule и глобальные переменные (без которых лучше обойтись). И да, мануал почитать полезно надо. Там много чего интересного. 1 Quote Link to comment Share on other sites More sharing options...
Serg Posted July 1, 2019 Author Share Posted July 1, 2019 Большое спасибо! 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.