Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use alongside VFP 6?
Message
De
17/12/2001 00:31:34
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
16/12/2001 23:04:39
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00594995
Message ID:
00595006
Vues:
40
>Hello all:
>
>I have an application in VFP 6.0 using SP4. I have just purchased VFP 7.0 also.
>
>Question:
>
>1. Can I load VFP 7.0 also on a computer currently being used as the development computer for VFP 6.0 applications. My application does get modified from time to time using VFP 6.0. Should I watch out for something unexpected?
>
>2. How signifcant is the process to convert a VFP 6.0 application to VFP 7.0?

ad 1) no problem - I even had VFP5 alongside 6 and 7 and each ran fine. You may only take care that each uses its own config.fpw and foxuser.dbf - sharing them across versions usually worked, but led to problems here and there and made life harder.

Stuff compiled in one 6 should probably run fine in 6, but I'm not sure of the other way around; if you revert to VFP6 at some point, you need to recompile all. Also, FoxTools functions words() and wordnum() are now in VFP proper under different names, so you may need to do this, if you use them:
#if "07."$VERSION()
	#define words getwordcount
	#define wordnum GetWordNum
#endif
VFP7 adds one field to the menu files; I'm not sure if it hurts any to open them in 6 again. You may need to run a simple test first.

ad 2) Just recompile, and beware of the ARRAY keyword in declarations. Because of the intellisense syntax, you can't use this keyword anywhere else except before the first array, and you can't use the same line to declare (local or public) variables which are not arrays. If you omit this keyword, it will work like before, and compile fine in both 6 and 7. It will also add the new field in menus if you open them.

Can't remember anything else... I think this may be all, maybe someone can add.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform