mierlp Posted May 29, 2018 Share Posted May 29, 2018 hi I upgraded to the lateste version of uniGui and when running my application it got error message regarding 'unknown localhost' and the second one is the memory leak. This was working till now...I use myDac from DevArt for connecting to a LOCAL mySQL database. The DevArt myConnection component is on the 'ServerModule' and this component contains the connection properties like Localhost. Do i have to put the myConnection property on a 'main' datamodule ? Regards Peter Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 29, 2018 Administrators Share Posted May 29, 2018 Hi, EMyError should be a MyDAC exception. Please check your MyConnection configuration. Quote Link to comment Share on other sites More sharing options...
mierlp Posted May 29, 2018 Author Share Posted May 29, 2018 myConnection configuration is ok...and working....see attachment. Also when i set the status on active for the query component the data is visible. The version of myDac i use is from april and latest one. Normal VLC applications don't have this problem Created a new test application wiith a: - myConnection component - myQuery - myDatasource Also when i activate them i see the data and the database on localhost can be found. When running the application i get a socket error 10022 Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 29, 2018 Administrators Share Posted May 29, 2018 Can you attach your test app? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 29, 2018 Administrators Share Posted May 29, 2018 The DevArt myConnection component is on the 'ServerModule' and this component contains the connection properties like Localhost. Just saw this! Correct place is MainModule or a DataModule created from uniGUI wizard. Putting Connections on ServerModule can bear unexpected results. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 29, 2018 Administrators Share Posted May 29, 2018 http://www.unigui.com/doc/online_help/index.html?application-design-considerati.htm http://www.unigui.com/doc/online_help/index.html?general-design-concept.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.