Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File .vcx is in use and cannot be recompiled
Message
De
29/10/2003 11:55:28
 
 
À
29/10/2003 10:29:38
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00843965
Message ID:
00844130
Vues:
54
Nancy,

I basically used the project manager, Classes,New,picked the StdGridForm class from _basics.vcx, called it a form name that was appropriate for what it was supposed to do, and typed 'sosforms' (the name of the client) as the destination library.

So now it's in sosforms.vcx as, it's called, let's say Reservations, but it still claims it's part of _basics.vcx.

Is this the expected behaviour?

Anyway, appart from the clear all, it all works - it's just irritating, 's all, and not all of my classes behave that way.


>Peter-
>
>>I've made a new class library, let's call it MyClass.vcx, and added a few form classes based on classes from _basics.vcx. All in the project manager.
>>
>>Now, whenever I make changes to the classes in MyClass and try to compile, I get this:
>>
>>"Compiling c:\develop\classlibs\_basics.vcx
>>File c:\develop\classlibs\_basics.vcx is in use and cannot be recompiled."
>>
>>A Clear All before compiling solves the issue, but it is a bit tiresome.
>
>Right. If the class is in use in memory, you have to clear it. CLEAR ALL is so automatic for me that I don't even think about it any more, though it was mildly irritating at first.
>
>>I have noted that the ClassLibrary property of the new Form class says
>>.._basics.vcx, and not as I would have expected, MyClass.vcx.
>
>How did you create the form? Check the CREATE FORM command for class and classlibrary clauses. Or, if you always use the same base class, you can set the default base form class in the Tools | Options.
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform