Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to establish references to external functions
Message
De
07/02/2002 01:48:26
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
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:
00616434
Vues:
25
>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?

Hi Michael,
I simply add all vcx's and prg's to the external project and exclude them. So they are visible for compiling.
IF I create the external Object with NEWOBJECT they are linked to the classes within my main.

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform