strange behver of emWIN simulation

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • strange behver of emWIN simulation

    Got a button that opens a new window which works OK in most cases, see attached pictures.
    I have no idea why this error is popping up,(and I don't have any GUI-Task.c file...)

    I ma probably doing something wrong with sending WM messages , but have no idea,
    Thanks
    Johanan
    Images
    • ScreenHunter_267 Feb. 14 21.36.jpg

      37.63 kB, 798×480, viewed 555 times
    • ScreenHunter_268 Feb. 14 21.52.jpg

      38.89 kB, 804×482, viewed 549 times
  • Hello,

    GUI_Task.c:
    No Context available for task in _GetTaskNo(). Increase number of maximum tasks!


    The error message which is shown on your screenshot clearly indicates, that the number of tasks has to be increases. This should be done using the function GUITASK_SetMaxTask().

    Please find the function description in the chapter "Configuration" in the emWin user manual.

    Best regards,
    Adrian