

Use Enumeration Instead of SAFEARRAY to Get an Array’s Elements
C++’s SAFEARRAY is difficult to use. A better option is to enumerate an array’s elements by repeatedly calling your own custom enumeration function and incrementing the element index. When the