Here is a quick question for all you C++ experts... I need to create a SAFEARRAY.. but not exactly sure how to do it.
I'm trying to call a VB DLL method that access a store procedure of a database.. I believe it should work.. but I don't know how to create a SAFEARRAY... can someone help please...
VB DLL method.. this is how it looks like
Set rsClaimErrors = objDBCalls.RunSPReturnRS("sp_get_claim_errors", _
Array("@i_USER_ID", 200, 200, strClaimID))
in the C++ side this is what the method requires...
UB92Format = pDBCalls->RunSPReturnRS(_bstr_t spSTR, SAFEARRAY **params);
I know what to put in the _bstr_t part... but I need to create a SAFEARRAY in C++ that would store the simple value as in the VB DLL method.. how can I do this..