akr Posted July 8, 2019 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
akr Posted July 8, 2019 Author Posted July 8, 2019 And I said to myself: Use RegisterAppFormClass & GetFormInstance. Got it! Quote
Sherzod Posted July 8, 2019 Posted July 8, 2019 Hello, Can you please specify which edition and build of UniGUI are you using? Quote
akr Posted July 8, 2019 Author Posted July 8, 2019 Current trial edition from your website. 1500. Quote
akr Posted July 10, 2019 Author Posted July 10, 2019 I understand how to do it for forms. What do I have to do with other global variables? Anyone??? Quote
alfr Posted July 10, 2019 Posted July 10, 2019 Recommandation is to put session variables in mainmodule. See http://www.unigui.com/doc/online_help/main_module.htm 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.