Everybody,
I have the following sample code. Once the code is run, if I go into Windows Explorer and try to cut the “Template.Vcx” file and paste it to another directory, I get the following error: “Cannot Move Template: It is being used by another person or program.”
Can somebody tell me why it is still being used in memory?
*-- Class Library: C:\Test\Template.Vcx
DEFINE CLASS Template_Level1 AS CUSTOM
NAME = "Template_Level1"
PROCEDURE Process
*-- Some Code
ENDPROC
ENDDEFINE
DEFINE CLASS Template_Level2 AS Template_Level1
NAME = "Template_Level2"
ENDDEFINE
DEFINE CLASS Template_Level3 AS Template_Level2
NAME = "Template_Level3"
ENDDEFINE
oTest = NEWOBJECT(“Template_Level3”, “C:\Test\Template.Vcx”)
oTest.Process()
oTest = .NULL.
CLEAR CLASS Template_Level3
I have the following sample code. Once the code is run, if I go into Windows Explorer and try to cut the “Template.Vcx” file and paste it to another directory, I get the following error: “Cannot Move Template: It is being used by another person or program.”
Can somebody tell me why it is still being used in memory?
*-- Class Library: C:\Test\Template.Vcx
DEFINE CLASS Template_Level1 AS CUSTOM
NAME = "Template_Level1"
PROCEDURE Process
*-- Some Code
ENDPROC
ENDDEFINE
DEFINE CLASS Template_Level2 AS Template_Level1
NAME = "Template_Level2"
ENDDEFINE
DEFINE CLASS Template_Level3 AS Template_Level2
NAME = "Template_Level3"
ENDDEFINE
oTest = NEWOBJECT(“Template_Level3”, “C:\Test\Template.Vcx”)
oTest.Process()
oTest = .NULL.
CLEAR CLASS Template_Level3