R.Wieser
2020-05-11 09:12:36 UTC
Hello all,
I've created a small program using IActiveScript (and friends), which works
well enough - all the objects seem to be released when the last 'Release's
are called.
The problem is that when the script contains an error (and the
'OnScriptError' method is called) the program ends with IActiveScript still
having a refcount of 1. :-(
The MSDN webpage on the 'OnScriptError' doesn't mention anything about it
and I've been unable to figure out where that refcount is added / not
removed.
As such I could do with a bit of help ...
Regards,
Rudy Wieser
I've created a small program using IActiveScript (and friends), which works
well enough - all the objects seem to be released when the last 'Release's
are called.
The problem is that when the script contains an error (and the
'OnScriptError' method is called) the program ends with IActiveScript still
having a refcount of 1. :-(
The MSDN webpage on the 'OnScriptError' doesn't mention anything about it
and I've been unable to figure out where that refcount is added / not
removed.
As such I could do with a bit of help ...
Regards,
Rudy Wieser