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!

Using COM viewers with C++

Status
Not open for further replies.

Varith

Programmer
Jun 16, 2003
18
0
0
US
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top