I'm attempting to fill a SAFEARRAY of 10 BSTR with the value "test" and print out to console the value of each index of the SAFEARRAY after it has been assigned to verify correctness. I ran the debugger and got these values below (my SAFEARRAY is called sa). Somehow I am iterating the SAFEARRAY incorrectly or using the wrong types, each index should be "test". My ultimate goal is to create a DLL to inteface with MS excel but I am trying to get this right before I move on to that. Any advice on what im doing wrong?