I want to use the setLicenseKeycode property of craxddrt.dll for design at runtime.
I have evaluation version of CR XI R2 SP5 and using Visual C++.When I use the below code in my application with
m_crReport->Application->SetLicenseKeycode(<your keycode as a string>)
CReportWriterView* pView = (CReportWriterView*)GetNextView(pos);
If I dont use above line(pView->m_crDesigner.put_ReportObject (m_crReport)) then viewer is working properly..
This system does not have a valid license,
or the evaluation copy of the license has expired. Please contact Business Objects
to obtain a Report Design Control license.
I donot think my license has expired because when I try to run my application by
using the msi created by Installshield (using same license keycode as kept in
SetLicenseKeycode) then my application works fine.