Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding to either DLL or VCX
Message
De
07/10/1998 17:07:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Coding to either DLL or VCX
Divers
Thread ID:
00144794
Message ID:
00144794
Vues:
62
[VFP6] I have a front-end VFP app that accesses a middle-tier written in VFP. I want the middle tier to be either VCXs or DLLs. How can I abstract this from my front end NewObject() calls?

Example:
Class foo could be in either FooClass.vcx or FooClass.dll
Syntax would be:
NewObject("foo", "FooClass") or
NewObject("FooClass.foo")

The point being, I have to know when coding how my middle-tier is architected.

What I really want is something like:
NewObject("foo", "FooClass")
which would look in either the VCX or DLL as appropriate.

Is there a simple way to do this?

Bob
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform