on 2009 Sep 05 11:39 AM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, Narender;
The code you are using appears to be Report Creation API modifying the report at runtime.
pView->m_crDesigner.put_ReportObject (m_crReport);
You would need to have that functionality as part of the license. It may be the key you are using does not have RCAPI set to True. It is not usual with an Evaluation key code.
You may want to check what functionality is included.
Elaine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
30 | |
8 | |
7 | |
6 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.