Has anybody called the enterprise 9 COM viewers from C++? Specifically I am trying to use CrystalReports.CrystalReportViewer's GetHtmlContent function. I pass it 2 IDispatch * (the request and response objects, passed from a web page) and a _variant_t set to VT_NULL for the session parameter. Doing this returns a 0x80070057 error ("The parameter is incorrect"
. Does any one know which parameter it is complaining about?