Cannot create Dialog Box Error

Cannot create Dialog Box Error

Postby toninhofwi » 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.
toninhofwi
 
Posts: 172
Joined: Tue Oct 18, 2005 10:01 am

Re: Cannot create Dialog Box Error

Postby Daniel Garcia-Gil » Thu Feb 25, 2010 12:33 am

Hello toninhofwi

Please post error log and RC section with the problem, is better to help you
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Cannot create Dialog Box Error

Postby toninhofwi » 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.
toninhofwi
 
Posts: 172
Joined: Tue Oct 18, 2005 10:01 am

Re: Cannot create Dialog Box Error

Postby Antonio Linares » Thu Feb 25, 2010 11:40 am

Toninho,

What controls do you use in that dialogbox ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Cannot create Dialog Box Error

Postby toninhofwi » 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.
toninhofwi
 
Posts: 172
Joined: Tue Oct 18, 2005 10:01 am

Re: Cannot create Dialog Box Error

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Cannot create Dialog Box Error

Postby toninhofwi » Fri Feb 26, 2010 10:28 am

Antonio, my resources is INSIDE my EXE.

Regards,

Toninho.
toninhofwi
 
Posts: 172
Joined: Tue Oct 18, 2005 10:01 am

Re: Cannot create Dialog Box Error

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Cannot create Dialog Box Error

Postby toninhofwi » 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.
toninhofwi
 
Posts: 172
Joined: Tue Oct 18, 2005 10:01 am

Re: Cannot create Dialog Box Error

Postby peterk » Sat Feb 27, 2010 3:34 am

We have encountered this when the dialog TITLE is too long.............
peterk
 
Posts: 47
Joined: Thu Jul 13, 2006 2:39 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 79 guests