Hi,
Was waiting your nswer following is what happend before reinstalling.....
1: i created an autoobject of Main_Screen as Main_Screen1 and sucessfully posted a signal to this dialog(slot method ofcourse)
from another dialog and it was working correctly. All the variables were accessible from other dialogs in the Application.
2: the problem i faced at that point was that if i was posting a signal to update text in Main_Screen, it was not working.
but the device interface code was working , as there was an Led Attached onBoard.
3: So i did wrote in UpdateViewState "Text_Pkey.string = Application::Tank_Show1.Weight.String and it started to show that.
4: in that happiness ( i am sorry ) i did some other function controlling the behaviour of Main_Screen Dialog.
5 after above code adding i started the simulater , the application worked perfectly for two or three times and after
that all the signals were dead, i tried removing the code lines which i added , but even after that it did not came to right path.
6. i had a backup of my application i started that one , same behaviour i thout may be the SDL drivers are corrupted .
7. i checked some applications frome examples but the behaviour was erratic.
8. then i reinstalled the EmWiz and yhings started to work correctly.
9. i adopted your Core::Root root = GetRoot() methode and this time switchdialog was not working properly, instead i used presentdialg method
to invoke another dialog
10. so istarted searching for a proper way to address global variables and i found one of your post on that question , i did accordingly and everything is working
as required.
But now i want to deeplly understand this method of sharing global variables.
1: why i have to define a Property in Settings class
2: why i have to redefine a variable with the same name in Application::Application......what is the relation of these with each other ????
Regards
Nawaz