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:59:19
 
 
To
07/02/2002 01:28:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00616432
Message ID:
00616436
Views:
37
>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?

Why not create a .H file full of EXTERNAL declarations?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform