Page 1 of 1
How to avoid [Can not create Dialog Box]
Posted: Thu Jun 21, 2018 8:07 am
by kkwan
If there are Get control, button, RichEdit in common dialog box, and then close and open dialog box after saving continuously (about 200 times) [Error dESCription: Can not create Dialog Box]
Where is the cause?
Re: How to avoid [Can not create Dialog Box]
Posted: Thu Jun 21, 2018 9:20 am
by hmpaquito
+1
Re: How to avoid [Can not create Dialog Box]
Posted: Thu Jun 21, 2018 10:24 am
by richard-service
+1
Re: How to avoid [Can not create Dialog Box]
Posted: Thu Jun 21, 2018 12:21 pm
by cnavarro
kkwan wrote:If there are Get control, button, RichEdit in common dialog box, and then close and open dialog box after saving continuously (about 200 times) [Error dESCription: Can not create Dialog Box]
Where is the cause?
What version Fwh use?
Please put any little sample for test it
Re: How to avoid [Can not create Dialog Box]
Posted: Thu Jun 21, 2018 2:49 pm
by AntoninoP
We had a similar problem and the reason was some leak on resource (GDI) we solved them and the problem gone.
Re: How to avoid [Can not create Dialog Box]
Posted: Thu Jun 21, 2018 9:15 pm
by James Bott
As others have mentioned it is usually due to a resource leak. It also can occur when a class is not found and this gets reported as "Cannot create dialog box" for some reason.
If it is a resource leak, then it is also more likely to occur on computers with less RAM, since they will run out of resource memory sooner.
Regards