I resolved.
it was necessary to create a istance of MainWindow in the Diagnostics.cpp (Mainwindow *Main).
At this point I need to write Main->Read_Ambiente();
I resolved.
it was necessary to create a istance of MainWindow in the Diagnostics.cpp (Mainwindow *Main).
At this point I need to write Main->Read_Ambiente();
of course, it is necessary, hard to imagine how could you use it without having an instance![]()
In some cases you could use 'static' method to call it wthout instance of an object.
Bookmarks