Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to establish references to external functions
Message
 
 
To
07/02/2002 01:28:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00616432
Message ID:
00617076
Views:
28
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform