I am writing a COM component in C++ for use with ASP.
I want to know how to make a COM method that can pass out one or more string values.
<%MyObject.GetStrings String1Out, String2Out %>
and in C++, the related function might be something like:
STDMETHODIMP CMyObject::GetStrings(BSTR * pbstr1, BSTR * pbstr2)
Is there a way to do this? I already know about fetching values one by one, using a property. But is there something that one can specify in the IDL file that will tell ASP to send a variable by reference instead of by value?