Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C5... error while saving several level classes
Message
De
12/03/2004 02:14:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
C5... error while saving several level classes
Divers
Thread ID:
00885489
Message ID:
00885489
Vues:
52
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
Répondre
Fil
Voir

Click here to load this message in the networking platform