Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling funct in .app that exist in .exe only
Message
From
21/06/2012 11:59:31
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01546502
Message ID:
01546521
Views:
51
>I should apologize of the title is not clear; but I could not compose a better brief description.
>
>I have an EXE application (VFP 9 SP1) that calls an .APP application (also VFP 9 SP1). Some code in .APP calls function(s) that exist only in the .EXE (simply because the .EXE and .APP share some class libraries). So when I compile/build the .APP I get a bunch of Unknow FunctionName - Undefined messages. But I have not seen error messages at run time. Does it mean that at run time when the code in the .APP calls one of the "unknown" functions they fire from the main .EXE?

If a function is not available in the current context, FoxPro searches the calling context.

If you're looking to silence compile-time errors, you could create a PRG that contains just the procedure and function headings of the routines in the EXE that are being referenced in the APP, then add this PRG to the project for the APP and set it as excluded.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform