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?
How to avoid [Can not create Dialog Box]
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: How to avoid [Can not create Dialog Box]
+1
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Re: How to avoid [Can not create Dialog Box]
What version Fwh use?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?
Please put any little sample for test it
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Re: How to avoid [Can not create Dialog Box]
We had a similar problem and the reason was some leak on resource (GDI) we solved them and the problem gone.
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: How to avoid [Can not create Dialog Box]
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
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
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10