B
Bob Barrows [MVP]
I still can't get past this:
The VB/VBA documentation has always stated that COM objects are dereferenced
when they go out of scope. When Eric says: "The script engine will
automatically clear those variables when they go out of scope", he isn't
saying anything that the docs haven't said for the last umpteen years.
Yet bugs have been documented that have been corrected by explicitly
destroying them. A couple people on that blog page talked about the old DAO
Database object bug. Another referred to the intemittent IIS failures that
were corrected by explicit cleanup of ADO connection objects. This tells me
that COM _never behaved the way it was supposed to_. Why am I supposed to
all of a sudden start trusting it to behave correctly just because we have
another OS or another version of IIS? To me the burden of proof is rather
high, and would have to involve explaining how the previous failures
occurred and what's been done to prevent them. Instead we get people like
Eric treating us as if we are idiots who don't understand scope and "how COM
works".
Bob Barrows
The VB/VBA documentation has always stated that COM objects are dereferenced
when they go out of scope. When Eric says: "The script engine will
automatically clear those variables when they go out of scope", he isn't
saying anything that the docs haven't said for the last umpteen years.
Yet bugs have been documented that have been corrected by explicitly
destroying them. A couple people on that blog page talked about the old DAO
Database object bug. Another referred to the intemittent IIS failures that
were corrected by explicit cleanup of ADO connection objects. This tells me
that COM _never behaved the way it was supposed to_. Why am I supposed to
all of a sudden start trusting it to behave correctly just because we have
another OS or another version of IIS? To me the burden of proof is rather
high, and would have to involve explaining how the previous failures
occurred and what's been done to prevent them. Instead we get people like
Eric treating us as if we are idiots who don't understand scope and "how COM
works".
Bob Barrows