Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error occuring during build
Message
From
13/11/2007 16:12:31
 
 
To
13/11/2007 14:49:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Miscellaneous
Thread ID:
01268695
Message ID:
01268747
Views:
12
You could add properties to _screen and use them in place of variables in the build script, since CLEAR ALL doesn't affect _screen properties:

_screen.Addproperty("outputpath", "c:\output")

>I do a CLOSE ALL before the build, plus a few CLEAR PROGRAM statements. The CLEAR ALL does work but I also lose all the variables that are used as part of the build script.
>
>>It seems extreme, but have you tried
clear all
and
close all
>>
>>
>>>This is strange. Recently, when I am building a set of projects (from a PRG) I will get an error stating "File canot be closed because outstanding references exist." I researched the error and some suggestion indicate it has to do with class library still being in memory. So read the project file and preform a CLEAR CLASSLIB for each class library in the project before issueing the the BUILD statement. But the error still occurs.
>>>
>>>Can anyone have any other suggestion that may help?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform