FieldInfo:=Array(Array(1, 2), Array(2, 2), Array(3, 2), Array(4, 2), Array(5, 2))
such code from above I have at VBA macros. Now the same thing I should create in a C++ code. As far as I could understand till now - I should use SAFEARRAY type. But I still do not understand how correctly I should do that. Main problem - I have practically pure C++ code. No MSVC extensions like COleSafeArray, no ATL support. The only thing which I can use - STLSoft which is a 100% header-only library which significantly simplifies the creation of such elements like SAFEARRAY.
But in any way - which structure it should be? 1D SafeArray of 1D SafeArrays of two VT_I4 type elements?
P.S. I should use MinGW + gcc 4.x environment.