[HELP] Convert To SafeArray


int nArgc = 0;

LPWSTR *s_Argc = CommandLineToArgvW(L"Cmd1 Cmd2", nArgc);

On above example, the command list are stored in s_Argc pointer.
I could get it using something like this s_Argc[0]..[1]..etc

But now i got some api (mscoree->invoke(..., SAFEARRAY params)) which uses SAFEARRAY structure as the data type which i need to pass the s_Argc pointer. So how do i convert s_Argc pointer into SAFEARRAY data?

Topic archived. No new replies allowed.