How can I convert a JavaScript array() to an ATL/COM array without using VBArray?
What I want to convert is a new Array() to a SAFEARRAY.
A javascript array is a VARIANT that contains an IDispatch pointer. The IDispatch implementation has an enumerator method at dispatch id DISPID_NEWENUM . if you use C++, you can also query IEnumVARIANT from the object to access its elements.