Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Release program from memory
Message
From
27/10/2005 06:25:41
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01062188
Message ID:
01062550
Views:
14
If I try to release the classlib I get an error message
RELEASE CLASSLIB "Programa.VCX" in "Auxiliar\Programa.exe" && Error message
RELEASE CLASSLIB "Classes\Programa.VCX" in "Auxiliar\Programa.exe" && Error message
RELEASE CLASSLIB Programa.VCX in "Auxiliar\Programa.exe" && Error message
RELEASE CLASSLIB Classes\Programa.VCX in "Auxiliar\Programa.exe" && Error message
RELEASE CLASSLIB Classes\Programa.VCX in "Programa.exe" && Error message
RELEASE CLASSLIB Classes\Programa.VCX in Programa.exe && Error message
>Try
RELEASE CLASSLIB Programa.VCX
>CLEAR PROGRAM
>
>
>>If I instantiate a class from another executable like:
>>
>>objPrograma = NewObject("Programa", "Programa.VCX", "Auxiliar\Programa.EXE")
>>
>>
>>If I try to rename Auxiliar\Programa.EXE isn't possible because the class Programa is in the memory.
>>
>>How can I release Auxiliar\Programa.EXE from memory to rename it ?
>>
>>I can do like this:
>>
>>objPrograma = NewObject("Programa", "Programa.VCX", "Auxiliar\Programa.EXE")
>>objPrograma.SomeMethod()
>>Release objPrograma
>>Rename Auxiliar\Programa.EXE to Auxiliar\Programa_OLD.EXE
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform