Page 1 of 1

Cannot create Dialog Box Error

Posted: Thu Feb 25, 2010 12:24 am
by toninhofwi
Hi friends.

I have rondomly "Cannot create Dialog Box" message error one or two times a day.

What is the circunstancies when this error appear? I tryed to find anything wrong in my app but all seems fine.

Thanks for any hint.

Best regards,

Toninho.

Re: Cannot create Dialog Box Error

Posted: Thu Feb 25, 2010 12:33 am
by Daniel Garcia-Gil
Hello toninhofwi

Please post error log and RC section with the problem, is better to help you

Re: Cannot create Dialog Box Error

Posted: Thu Feb 25, 2010 10:58 am
by toninhofwi
Error from:

CREATEDLGERROR()
TDIALOG:ACTIVATE()
...

The two errors allways is the same above, but the rest change. As I sayd, it is randomly, and my resources is correct.

My question is: What can cause this error?


Thanks and best regards,

Toninho.

Re: Cannot create Dialog Box Error

Posted: Thu Feb 25, 2010 11:40 am
by Antonio Linares
Toninho,

What controls do you use in that dialogbox ?

Re: Cannot create Dialog Box Error

Posted: Thu Feb 25, 2010 11:33 pm
by toninhofwi
Hi Antonio.

Common controls like GET, SAY and TSBROWSE. I revised my RC file and all is correct.

Please see that error is *random* sometimes a simple DEFINE/ACTIVATE DIALOG with a message can display it.

My question is: what kind of problem can cause this error? I don't understand right this scenario. Is this a ms-windows or a fwh limitation/issue ?

Thank you and best regards,

Toninho.

Re: Cannot create Dialog Box Error

Posted: Thu Feb 25, 2010 11:35 pm
by Antonio Linares
Toninho,

Do you keep your resources inside your EXE or inside an external DLL ?

Re: Cannot create Dialog Box Error

Posted: Fri Feb 26, 2010 10:28 am
by toninhofwi
Antonio, my resources is INSIDE my EXE.

Regards,

Toninho.

Re: Cannot create Dialog Box Error

Posted: Fri Feb 26, 2010 10:50 am
by Antonio Linares
Toninho,

El EXE está en el ordenador local ó se carga desde un servidor ?

A veces pueden aparecer errores asi al no poderse cargar bien el EXE desde el servidor, pues Windows no carga todo el EXE sino partes de él, y al ir a acceder a una parte puede no poder acceder a él por problemas de lectura en la red.

Re: Cannot create Dialog Box Error

Posted: Fri Feb 26, 2010 10:58 am
by toninhofwi
Hi Antonio.

Thanks for this useful info. Maybe you are right, because I have a lot of apps like this installed and only in one client this problem occur.

Regards,

Toninho.

Re: Cannot create Dialog Box Error

Posted: Sat Feb 27, 2010 3:34 am
by peterk
We have encountered this when the dialog TITLE is too long.............