Skip to Content
0
Former Member
Sep 05, 2009 at 10:39 AM

Problem with SetLicenseKeyCode

28 Views

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

craxddrt.dll(ver.11.5.11.1673):

m_crReport->Application->SetLicenseKeycode(<your keycode as a string>)

CReportWriterView* pView = (CReportWriterView*)GetNextView(pos);

pView->m_crDesigner.put_ReportObject (m_crReport);

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.

Thanks.

Narender kumar