akr Posted July 8, 2019 Share Posted July 8, 2019 Hi, Does anyone know how to declare a C++ variable to be thread global and for current thread only. I want to have a global variable which is local for each session. Thx Andreas Quote Link to comment Share on other sites More sharing options...
akr Posted July 8, 2019 Author Share Posted July 8, 2019 And I said to myself: Use RegisterAppFormClass & GetFormInstance. Got it! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 8, 2019 Share Posted July 8, 2019 Hello, Can you please specify which edition and build of UniGUI are you using? Quote Link to comment Share on other sites More sharing options...
akr Posted July 8, 2019 Author Share Posted July 8, 2019 Current trial edition from your website. 1500. Quote Link to comment Share on other sites More sharing options...
akr Posted July 10, 2019 Author Share Posted July 10, 2019 I understand how to do it for forms. What do I have to do with other global variables? Anyone??? Quote Link to comment Share on other sites More sharing options...
alfr Posted July 10, 2019 Share Posted July 10, 2019 Recommandation is to put session variables in mainmodule. See http://www.unigui.com/doc/online_help/main_module.htm 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.