On Sunday, 12 March 2017 at 22:13:21 UTC, Stefan Koch wrote:
On Sunday, 12 March 2017 at 21:38:44 UTC, Inquie wrote:
Is there any easy way to create a scope for termination of the object?

[...]

scope(exit)

That is for the function, correct? If I release the resource at the end of the function, the COM interface will no longer be valid. It must be done when the class terminates, not the function.


Reply via email to