I have a class library in Visual FoxPro (.vcx file). After I edit the code contained within it, and then run my application, I get an Error 1309 '[class library name] is not an object file'.
This is after the class has been instantiated, and happens at the point that a class within the .vcx calls a method within itself. So it is indeed an object at that point, because the line of code that causes the error is contained within the class library.
I have noticed that whenever I edit and save the .vcx, if I open the .vcx as a table I can see that there are two deleted rows pertaining to the class that generates the error. If I PACK the .vcx and run the program, I get no error. Similarly, if I COMPILE CLASSLIB [class library name], I get no error.