Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to establish references to external functions
Message
 
 
À
07/02/2002 01:28:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00616432
Message ID:
00617076
Vues:
29
Hi Michel,

I didn't try it but I think it should work.
Create
* dummy.prg 
RETURN
FUNCTION TreeView
FUNCTION TreeViewFooter

*In the main program at the end
RETURN
DO DUMMY
>I have several sub EXE that are being call by another EXE. That main EXE holds several functions. In each of the sub EXE, in order to avoid the unknown references at compile time, I added the following in my main program of each of those projects:
>
>
>DEFINE CLASS dummy as Object
>FUNCTION TreeView
>RETURN .F.
>FUNCTION TreeViewFooter
>RETURN .F.
>...
>ENDDEFINE
>
>
>So, whenever I add a new function in the main EXE, I have to update each project in that main program. How can I avoid that?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform