Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fill a tagSAFEARRAY with VARIANTs

Status
Not open for further replies.

d00ape

Programmer
Apr 2, 2003
171
0
0
SE
Hi!

I’m about to pass a VARIANT to a “COM-function”.
In the API I says I should pass: an Array of VARIANTS.

How do I create the array.

I have looked at the function SafeArrayPutElement(…) and managed to pass an Array of BSTR… but I do need to pass it like an VARIANT Array….?

Tips?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top