is it possible to call garbage collector in VB6 ?
Printable View
is it possible to call garbage collector in VB6 ?
No, it isn't it. But what are you trying to accomplish?
we have an object which have severals values.
The first time this object is accessed the values are correctly returned. But the second time, we have an error #462 : The remote server machine does not exists or is unavailable.
In some .net forums this error can be corrected with GC.keepAlive so the reason of my question....
Few questions:
- what is the scope of your variable (public/ local)?
- how do you create and populate it?
- how do you destroy it?
Posting your code may help as well.
- what is the scope of your variable (public/ local)? It is a public variable
- how do you create and populate it? I don't know we are customizing a framework provided by a software
- how do you destroy it? We do not destroy it. Line 1 in the code the variable is accessible and the next line (NO OTHER CODE BETWEEN THESES LINES) the variable is no more accessible
Please post your code.
I cannot post my code.
That's alright with me but you won't get much help without it.
Regards.