Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suppress unresolved references in build
Message
From
07/06/2011 15:31:21
 
 
To
07/06/2011 13:41:07
General information
Forum:
Visual FoxPro
Category:
Project manager
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01513358
Message ID:
01513419
Views:
66
>>>>>Project a and project b include class A, class A calls form A. Don't need form A in project a but do in project b. recompiling wants to suck it in or produce an resolved reference error. Any way to:
>>>>>
>>>>>1) exclude Form A from project a without coding the exclusion in every call -- do we have to add it to the project and exclude it?
>>>>>2) suppress errors for unresolved references?
>>>>
>>>>Do you mean there is a code in class A that invokes this form? I don't think there is a way around it, but take a look at EXTERNAL command in Help.
>>>
>>>EXTERNAL doesn't work that way....(tried it)
>>
>>Then one option is to exclude the form and another is to create a light weight version of the same form with this name.
>
>Thanks everyone. All of these options we have considered, but trying to go with one that involves the least amount of code mods or project file mods - we've tested every one already including the pre-processor and compile time constants which work as well.
>
>Not sure which route we'll go yet, still hoping for a cleaner solution....


The least amount of code mods is to add a form - called A - to the project that is complaining. You can exclude the form from the project if you wish
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform