Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using VFP6 Lib in VFP5?
Message
 
To
15/01/1999 10:41:39
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00176493
Message ID:
00176516
Views:
31
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform