Search Results
Search results 1-9 of 9.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Hello Adrian, I didn't try the function GUI_X_Warn() because of missing time, if you have an example you can send me it please, i see to take informations in internet too. As i wrote you the windows handle were set(windows were created) befor of calling of WM_DeleteWindow(...), it works well, but after several times of creating and deleting of them, the application hangs in the function WM_DeleteWindow(...) Best regards Armin
-
Hello Adrian, Please see the documented code below, and read the qeustions. volatile GUI_ALLOC_DATATYPE m_GUI_ALLOC_DATATYPE; m_GUI_ALLOC_DATATYPE=GUI_ALLOC_GetNumUsedBytes(); // Result: 984 Bytes are used // m_hButton1 is created and has the value 4 if(m_hButton1!=(GUI_HWIN)NULL) { BUTTON_Delete(m_hButton1); // After ca. 5 times hangs the Applications in BUTTON_Delete-Function and doesn't come out, why? // After call of BUTTON_Delete-Function has m_hButton1 the value 4 , why doesn't set BUTTON_…
-
Hello Adrian, In my project the GUI_DEBUG_LEVEL is set to GUI_DEBUG_LEVEL_LOG_WARNINGS, with this value or GUI_DEBUG_LEVEL_LOG_ALL the application crashes anyway. The Application crash by "WM_DeleteWindow(m_Screen1);" When the WM_DeleteWindow(m_Screen1); works, the windows handle variable has the same value before and after call of this function ! The Crash happens after about 10 times creating and deleting the childwindow. I don't use a GUI_Delay between creating,show and deleting the child-win…
-
Hello Adrian, I had defined my handle variables af follow: static WM_HWIN m_Screen1=(GUI_HWIN)NULL; static BUTTON_Handle m_Button1=(GUI_HWIN)NULL; I had tried them with volatile too, as follow: volatile WM_HWIN m_Screen1=(GUI_HWIN)NULL; volatile BUTTON_Handle m_Button1=(GUI_HWIN)NULL; After several time of cretaing and deleting the the windows(in a display page), the application hangs in the function "BUTTON_Delete(m_Button1);" or "WM_DeleteWindow(m_Screen1);" BUTTON_Delete is defined as follow:…
-
Child-Window and Controls are deleted before creating, anyway appliaction hangs
Armin - - emWin related
PostHello Adrain, As you see in my Code above (on this side), i delete the screen(child window and Buttons) with "BUTTON_Delete" and "WM_DeleteWindow" and after that i create the screen again, i saw very often that the application hangs on "BUTTON_Delete" or "WM_DeleteWindow". My Appication is simplay as below: void main() { GUI_Init(); while(1) { ShowScreen1(); GUI_Delay(200); DeleteScrteen1() GUI_Delay(200); } } // For more details please see my code above(on this page) Best regards Armin
-
Hello Adrian, My Application with EMWin using hungs after of some oppening and closing of the Screen(the simpified code is to see as below), please write me what can i do, whereby the applcation can run stable? This problem is very important which appear by other users too, please write me all ways that you know to solve this problem. /******************************************************************************************************************************************************************…