If a COM collection defines a specific interface which is collected this interface should normally be returned via the Item and __getitem__ method. For this purpose the resultCLSID parameter is filled in the Invoke calls. This parameter is missing in the iterator generation. The attached files show the change in the generation and usage to support casting of interfaces while using an iterator.
Log in to post a comment.