Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Well are we gonna be part of the CLR on not?
Message
De
08/11/2000 16:38:42
 
 
À
08/11/2000 13:52:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00439256
Message ID:
00439404
Vues:
25
Perry,

>How would it be possible to have a compile time choice? It would seem that a VFP-CLR would be completely different from a standalone VFP. It would seem to be one or the other.

Theoretically, you'd have to make the compile option output (MS favorite word is "emit") MSIL (Microsoft Intermediate Language) and matching metadata, which would then be run by the CLR.

That would mean parsing the VFP code and mapping VFP commands over to the proper MSIL representation (or mapping them over to VB or C# commands and then running its MSIL-emitter).

You'd probably give up data-related commands, macro expansion, and certain dynamic runtime features just for that compile option, but would keep the full product for other compile options.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform