FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Cannot create Dialog Box Error
Posts: 182
Joined: Tue Oct 18, 2005 10:01 AM
Cannot create Dialog Box Error
Posted: Thu Feb 25, 2010 12:24 AM

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.

Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Cannot create Dialog Box Error
Posted: Thu Feb 25, 2010 12:33 AM

Hello toninhofwi

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

Posts: 182
Joined: Tue Oct 18, 2005 10:01 AM
Re: Cannot create Dialog Box Error
Posted: Thu Feb 25, 2010 10:58 AM

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.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Cannot create Dialog Box Error
Posted: Thu Feb 25, 2010 11:40 AM

Toninho,

What controls do you use in that dialogbox ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 182
Joined: Tue Oct 18, 2005 10:01 AM
Re: Cannot create Dialog Box Error
Posted: Thu Feb 25, 2010 11:33 PM

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.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Cannot create Dialog Box Error
Posted: Thu Feb 25, 2010 11:35 PM

Toninho,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 182
Joined: Tue Oct 18, 2005 10:01 AM
Re: Cannot create Dialog Box Error
Posted: Fri Feb 26, 2010 10:28 AM

Antonio, my resources is INSIDE my EXE.

Regards,

Toninho.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Cannot create Dialog Box Error
Posted: Fri Feb 26, 2010 10:50 AM

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.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 182
Joined: Tue Oct 18, 2005 10:01 AM
Re: Cannot create Dialog Box Error
Posted: Fri Feb 26, 2010 10:58 AM

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.

Posts: 47
Joined: Thu Jul 13, 2006 02:39 PM
Re: Cannot create Dialog Box Error
Posted: Sat Feb 27, 2010 03:34 AM

We have encountered this when the dialog TITLE is too long.............

Peter

Continue the discussion