Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to remove an instance of COM object from memory?
Message
 
To
All
General information
Forum:
Visual Basic
Category:
COM, DCOM and OLE automation
Title:
How to remove an instance of COM object from memory?
Miscellaneous
Thread ID:
00890297
Message ID:
00890297
Views:
45
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
Next
Reply
Map
View

Click here to load this message in the networking platform