Consultor Eletrônico



Kbase P1590: Error when opening a file in AppBuilder
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

Windows 2000 allows
Windows 98

SYMPTOM(s):

Error when opening a file in AppBuilder

Too many files on your directory. The file list may not be inclusive

Windows 2000 allows user to continue

Windows 98 raises a gpf

CAUSE:

The error is called from the adecomm/_chosobj.w dialog, used to select objects from templates, images for the button and image widget, among other places.

The file_search is a C function compiled into a DLL.

This error indicates that the number of files in the directory exceed the memory (memptr) allocated for the processing the directory. The adecomm/_chosobj.w program uses a 'list-size' of 8000 (bytes). For example, this gives room 1000 files of 8 characters, including
separators (,). Or about 300 25-character long file names.

The 'list-size' parameter of the file_search can be as high as 32k (limit in Progress widgets).

Message is not dangerous but simply a result of an internal limit on the definition of a variable used to list files in a directory.

FIX:

Rebooting PC fixed the Win98 gpf.