cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with SetLicenseKeyCode

Former Member
0 Kudos
68

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

View Entire Topic
Former Member
0 Kudos

Hi,

Are you saying that this code is not working with trial version.If we purchase the license of developer version then this work or not?

Other thing but when i install the cr 11.5 with msm and give the keycode in (CrystalReports11_5_RDC_License.msm)

then this is working properly.What this mean?

This is also a trial version license.......

pView->m_crDesigner.put_ReportObject (m_crReport);

Thanks.

Narender kumar

Former Member
0 Kudos

Hello, Narendar;

I see you have more than one post of this question.

It has been answered in the other [post|https://forums.sdn.sap.com/click.jspa?searchID=31447416&messageID=8127183].

Elaine

Edited by: Elaine Dove on Sep 9, 2009 9:29 AM