Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to release .app files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01470863
Message ID:
01470864
Vues:
62
>I have isolated some class definitions into .app files to allow me to isolate code functionality to a library. When I instantiate an object using code like the following:
>
> oBPAPay = NEWOBJECT("BPAPayPayware","BPAPayPayware.app")
>
>
>the .app file becomes locked. Even after I release the oBPAPay object I still can't delete or overwrite the file. Since this is a multiuser application, and the.app files are stored on the network, I have to close the software on all stations before I can update the .app files.
>
>Is there any way around this? I have set the object to null both before and after release, and I have tried clearing SET PROCEDURE, SET CLASSLIB, and SET LIBRARY. If I do CLEAR ALL it release the .app file, but I can't really do that in the middle of my program! How can I get my VFP program to let go of the .app file?

Did you try RELEASE PROGRAM myAppName ?

Check all variations of RELEASE command in Help.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform