Friday, August 18th 2017, 4:19pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

YPO53

Beginner

Date of registration: Oct 4th 2016

Posts: 23

1

Tuesday, May 23rd 2017, 11:55am

GUI_CreateDialogBox returns 0

Hello.

I had an hardFault error when I was playing with my application, after looking why. I see that when I want to create a new windows the GUI_CreateDialogBox return 0.
Is it possible, if yes, what does it mean ?
What should I do to remove this problem.

Note that this error is not systematic, it it is ramdom ...


Thanks.

SEGGER - Schoenen

Super Moderator

Date of registration: Aug 13th 2015

Posts: 345

2

Thursday, June 1st 2017, 4:41pm

Hi,

if the function returns with 0 something went wrong and the dialog was not created. Most likely there is not enough memory available. I recommend to increase the memory allocated to emWin by increasing the define GUI_NUMBYTES in GUIConf.c.

Regards,
Sven

YPO53

Beginner

Date of registration: Oct 4th 2016

Posts: 23

3

Thursday, June 8th 2017, 2:06pm

Thanks a lot for your response.