Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 with MAC
Message
De
09/05/2003 17:52:08
 
 
À
09/05/2003 12:47:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00786836
Message ID:
00786968
Vues:
19
It's possible. But..... it aint easy.

I've done it myslef in the past because I love the Mac over any OS with "Windows" in its name, not because it made monetary sense to do it. The previous posts are all valid. Assuming you still have a masochistic streak this is what you need to do:
1. Get a copy of VFP30 for the Mac. If you're running OS X, it will run in the Classic environment. If you've got an older mac that runs OS 9 or earlier, then VFP30's IDE will run natively.
2. Create a new project on the Mac
3. I think the DBF's and DBC's will migrate without any modification, but I'm not 100% certain. If they don't then you need to migrate them to 2.6DBF's and bring them over. If you do, realize you're going to lose relations, long field names etc. Those will need to be reset once you have the DBF's in the Mac's DBC.
4. Here's the nasty part: Class by class, migrate the VFP6 classes back to the Mac's VFP3 classes. I've found the easiest way to do that is to use Class browser. Once you open the class browser, you can use the "view object code" button to see all the method code. Save it as a prg. Copy it to the mac and then rebuild the class from the Prg on the Mac. It's tedious. If there's no matching class, you have to improvise. If there's an ODBC connection, you have to buy one for the Mac because the Windows ODBC drivers don't work.
5. If you've used VFP30, then you're familiar with the IDE. If not, take my word, VFP30 Mac's IDE no where near as nice as the current IDE. Build the executable and debug and enjoy.
If you don't want to go through all this pain, then you either run it in emulation using Virtual PC. ( Works only if you have a really FAST Mac, and even then it'll be in the PII speed range. )
Or you make a web app out of it.
HTH

>Hi All
>
>we have a application written in vfp6 and I want start using it on a Mac computer can any one tell me if its possible and what steps need to be taken
>
>thanx
>bill
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform