Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My classlib got abnormal compile error! Urgent!!
Message
 
 
À
26/05/1998 01:42:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00101587
Message ID:
00101888
Vues:
12
>>Do the following to fix:
>>use no_ime.vcx  && opens the class as a table
>>goto 16         && goes to record number 16
>>browse
>>&& tab over to the METHODS field and delete "Class" from this field.
>>&& exit from browse
>>use
>>compile class no_ime   && if using VFP 5
>>compile form no_ime.vcx  && if using VFP 3
>
>

>Well, could you tell me what happen on METHODS field!?
>is it a wrong data or what's happen?!
>
>2nd, can I pack the VCX? it seem VFP should do it else there will be many
>rubbish in my VCX file...
>
>Finally, thanks all. Great help to me!! ^_^'

I downloaded your class to see what the problem was. Compiling it in VFP5 found the problem. The error message pointed to record 16 in the VCX. If you look in the METHOD field of that record, you will find only one word -- Class -- which did not make sense for this record. By deleting that, your VCX then worked. Packing the VCX does no harm. If you still get the corrupt memo, you could do a COPY TO, then ZAP the VCX, then APPEND FROM. Do this with SET DELETED ON.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform