Safearray problem c++

I'm trying to call a function that requires safearrays as parameters.
I declared the safearray as such:
CString sCar;
sCar = "102559"
SAFEARRAY  *saAccession = NULL;
SAFEARRAYBOUND rgsabound[1];
rgsabound[0].lLbound = 0;
rgsabound[0].cElements = 1
saAccession = SafeArrayCreate(VT_BSTR, 1, rgsabound);
hresult = SafeArrayPutElement(saAccession, &i, sCar.AllocSysString());
My fuction called is:
m_oRSControlDict->QueryReportCreationForOrders(saAccession, saRelateId, saUnfinishedId,ReportAction, FailReason);

The error I'm getting is "Cannot convert parameter1 from "SAFEARRAY*" to "SAFEARRAY**"

Anyone have any ideas?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

m_oRSControlDict->QueryReportCreationForOrders(saAccession,  saRelateId, saUnfinishedId,ReportAction, FailReason);


m_oRSControlDict->QueryReportCreationForOrders(&saAccession,  saRelateId, saUnfinishedId,ReportAction, FailReason);

and if you get errors on the other parameters add more addressof operators (&)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Agree with expert. The method expects a pointer to a pointer and you are passing in a pointer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.