General information
Title:
C5... error while saving several level classes
Hi all,
I subclassed VFP controls to several levels. First of all, I subclassed native vfp control to root_classes.vcx, and then I have base_controls.vcx, special_controls.vcx, and ingrid_controls.vcx. The controls inside special_controls and ingrid_controls are derived from either controls in themselves or from base_controls or mixed of both. I also have base_forms.vcx that utilize all three controls (base, special, and ingrid).
Problem is I often get a C5... error whenever I save a form (scx) or a form inside base_forms.vcx. Most of the time, it's only a simple C5 error. I was (forced) to get out of VFP and then when I launch VFP again, all my files are OK. But, yesterday, I got this C5 error and found that my base_forms.vcx are gone! Can you imagine that? _all_ my forms are derived from this class. Luckily I have back ups, but I still loose about twelve hours of working.
I use VFP8 SP1. I don't know how to re-generate the error intentionally, but most often this happen when I do a lot of back-and-forth between editing some forms in base_forms and the scxs. The only way I found is to implicitly put CLEAR ALL and RELEASE ALL in VFP's Command Window right before I run or edit the scx.
Anybody got this behaviour as well? Can anybody give me any insight about this matter?
Thanks in advance!
Willianto
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only