Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot create FXP ... WHY?
Message
From
28/01/2001 11:45:23
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00469320
Message ID:
00469515
Views:
15
>>All of a sudden I'm getting this thing in my VFP where I get 'cannot create FXP' and I have to exit and re-enter to compile. Anybody know why?
>>
>
>I've seen this in lots of places, and without trying to track it down in detail, the cleanest solution is a CLEAR ALL to release any references that might be retaining the image. Things that might (I'm guessing, not certain, that these might result in the error) be related to this:
>
>(1) The .PRG contains the class definition for an object that is currently instanced
>(2) The .PRG is included in the SET PROCEDURE list and you're suspended, with the .PRG or one of it's included procedures or functions in the call stack
>(3) Something else is temporarily accessing the file - I've seen this with NAV scans; it clears up when NAV decides it's done
>(4) Someone else is referencing the .FXP; another user or another VFP session on the same box. Doesn't clear until they release it as well
>(5) The .PRG contains the class definition of a superclass of something being examined in the Class Browser
>(6) You're temporarily in a folder where you don't have create or delete permissions
>(7) VFP really wanted to piss you off by making the seemingly harmless request to recompile fail

I've had this same problem in FPW. (Posted about it recently.) CLEAR PROGRAM and CLEAR MEMORY, RELEASE ALL, etc. do not work. You can't delete the .FXP from Explorer either. Sometimes only a restart does the trick.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform