Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to establish references to external functions
Message
From
07/02/2002 01:48:26
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
07/02/2002 01:28:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00616432
Message ID:
00616434
Views:
24
>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]
Previous
Reply
Map
View

Click here to load this message in the networking platform