>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