HI
In a program I create an instance of registered COM object, and assign a reference to the local variable.
loObject = CREATEOBJECT(“Component.ComponentClass”)
After the program is finished VFP still keep instance of the COM object in a memory. So next time I run my program it uses previously created object, instead of creating new one.
What should be done to avoid this behavior?
TIA
In a program I create an instance of registered COM object, and assign a reference to the local variable.
loObject = CREATEOBJECT(“Component.ComponentClass”)
After the program is finished VFP still keep instance of the COM object in a memory. So next time I run my program it uses previously created object, instead of creating new one.
What should be done to avoid this behavior?
TIA