Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using VFP6 Lib in VFP5?
Message
 
À
15/01/1999 10:41:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00176493
Message ID:
00176516
Vues:
32
Hi Matt,

>Can you have one class lib that is used in VFP5 and VFP6? I have recently upgraded to VFP6 and I want to begin using my custom lib in it, but I must also keep it compatible with VFP5 development for a while longer. I cannot risk incompatibility with VFP5.

Yes, but you have to consider a lot:

a) You cannot use any featire of the VFP 6 version in the classlibs, except when you surround VFP 6 specific code with #IF...#ENDIF.

b) If your class libraries contains methods or properties that are native in VFP 6 (eg. NewObject() or ReadOnly for the checkbox), you can't use the class in VFP 5 anymore

c) You have to compile the class library in VFP 5 before you use it, otherwise VFP 5 won't recognize it.

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform