In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Error using BrowseForFolderDlg

Xailer professional forum in English
Responder
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Error using BrowseForFolderDlg

Mensaje por Timm »

Hi!

I get the error below from time to time. How can I get rid of it?

Best regards, Timm.


---------------- Information über die interne Fehlerbehandlung ----------------

Untersystemaufruf: BASE
Systemcode: 42
Default-Status: .F.
Beschreibung: Scope violation (protected)
Operation: TBROWSEFORFOLDERDLG:_CLASTFOLDER
Argumente:
Involvierte Dateien:
DOS-Fehlercode: 0

Aufgerufene Programmteile:
TBROWSEFORFOLDERDLG:_CLASTFOLDER (0)
TINTERNET:READFILE (0)
TFORM1:CALLAPI (1764)
TFORM1:READOPENORDERS (1880)
TFORM1:TIMERNEWORDERSTIMER (4958)
TTIMER:ONTIMER (0)
(b)XTIMER (43)
TTIMER:WMTIMER (0)
TBROWSEFORFOLDERDLG:RUN (0)
TBROWSEFORFOLDERDLG:BROWSEFOLDER (160)
TFORMSETUP2:BRWSIZESCOLUMN7BTNCLICK (225)
TDBBRWCOLUMN:ONBTNCLICK (0)
TGRIDEDIT:BTNCLICK (185)
TGRIDEDIT:XACLICK (112)
TMASKEDIT:WMLBUTTONUP (0)
TGRIDEDIT:WMLBUTTONUP (174)
TFORMSETUP2:SHOWMODAL (0)
TFORMSETUP:BTNMORESETUPCLICK (826)
TBTNBMP:ONCLICK (0)
TBTNBMP:CLICK (100)
(b)XCONTROL (156)
TBTNBMP:COMMAND (0)
TFOLDERPAGE:WMCOMMAND (275)
TFORMSETUP:SHOWMODAL (0)
(b)TFORM1_CREATEFORM (224)
TIMAGE:ONCLICK (0)
(b)XCONTROL (157)
TIMAGE:CLICK (0)
(b)XCONTROL (158)
TIMAGE:XACLICK (0)
TIMAGE:WMLBUTTONUP (0)
RUNFORM (0)
TAPPLICATION:RUN (287)
MAIN (30)
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9246
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: Error using BrowseForFolderDlg

Mensaje por ignacio »

Hello,

On file BROWSEFORFOLDER.PRG try to move the property cLastFolder to the RESERVED area:

PROTECTED:
DATA cLastFolder INIT "" >>>>>>>>>>>>>>>>> remove

RESERVED:
DATA cLastFolder INIT "" <<<<<<<<<<<<<<<<< Include

I attach the modified module.

Regards,
Adjuntos
BrowseForFolder.rar
(2.09 KiB) Descargado 181 veces
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Re: Error using BrowseForFolderDlg

Mensaje por jfgimenez »

Timm,

TInternet:ReadFile() has a call to ProcessMessages() inside it, and it seems that TBrowseForFolderDlg:cLastFolder is called from there somehow, which is very very strange. Please, send us a little and self contained example to research the problem in depth.
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Re: Error using BrowseForFolderDlg

Mensaje por Timm »

Hi!

Unfortunatly I can not reproduce the error on my pc. It was report to me from several costumers.
I sent them an update - let´s see, if the error still appears.

Best regards, Timm
Responder