PRB: Modifying a Class Library Causes Error in VFP 6.0 That Forces the Program to Terminate (238659)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q238659 SYMPTOMS
Modifying a visual class library (.vcx) file by using the Class Designer causes an error in Visual FoxPro 6.0 that forces the program to terminate abnormally. The error may also occur when opening the visual class library file in the Project Manager, Class Browser, or Component Gallery.
CAUSE
The Reserved5 field, which holds information about icons, contains high ASCII characters.
RESOLUTION
Use the visual class library file as a table, delete the ASCII characters from the Reserved5 field, and recompile the visual class library file. Step-by-Step Example- Use the visual class library as a table. For example, if the class library is named Ztest, issue the following in the Command window:
USE ZTest.vcx
Browse
- Go to the Reserved5 field and open up the field manually. Because the Reserved 5 field contains the path and file name for the image that is used to display the class in the project manager, and so forth, you want to remove the high ASCII characters by deleting them.
- Issue these commands in the Command window to recompile the class code:
USE
COMPILE CLASS Ztest
- Re-open the class library in the normal fashion.
REFERENCES
c0000005 GPF page fault hang crash application error
Modification Type: | Major | Last Reviewed: | 5/23/2000 |
---|
Keywords: | kbDesigner kbDSupport kbMiscTools kbprb kbProjManager KB238659 |
---|
|