Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing COM object
Message
From
16/05/1999 06:59:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Releasing COM object
Miscellaneous
Thread ID:
00219418
Message ID:
00219418
Views:
47
Hi everybody!

I have the following problem which can't resolve.... I have a collection class that stores in array property references to COM server instances. Everything is OK but releasing them from memory.

When I issue this.raObject[lnI,2] = .null. it does nothing but wait and wait and wait and I have to go to the Process viewer and delete the COM server from there.

if I issue release this.raObject[lnI,2] , VFP dives me an error message "Syntax error"....

What I have to do to release those COM objects? how do you, people, release objects if they are stored in array?

If I store simple VFP objects in array then first method works just fine....
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Next
Reply
Map
View

Click here to load this message in the networking platform