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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Runtime License Required"

Status
Not open for further replies.

olichap

Programmer
Mar 20, 2001
389
US
OK, I know the whole license issue has been talked about quite a bit here, but I have quandry.

I have a pretty simple VB6 app that includes one (1) CR8.5 report (as a DSR object). I utilize the RDC when building my app and report. The only CR references in my project are:

Crviewer.oca, Craxdrt.dll (CR8.5 Ax Runtime Lib.)

Here's my issue. This project is just one of many configured the same way. For some reason I constantly get the box popping up when the app is run that says "Runtime License Required." This message does not show itself in any of my other apps. I do not make any outside API calls (other than those exposed by the RDC as events). So, why does it keep popping up here and not elsewhere? This occurs in my development environment and when compiled to EXE.

Thanks,
Oliver
 
Since you're using the RDC to create a report on the fly with VB, you're hitting the licensing issue.

The Crystal 8 docs say to look at this file to see which API calls trigger the message.

Royalty Required Runtime.hlp
 
The report is not being created on the fly. It is an existing report that is in the form of a dsr file. It's strange because I have other apps with upwards of 40 reports in the same object form that do NOT give me this message.

The only thing I can think of right now is maybe I am using one of the NON royalty-free properties/methods/events. Since crviewer.dll is listed as royalty-free I have to assume it is something with the craxdrt.dll. But, I am not doing anything differently.

I am not accessing any of the craxdrt objects (and their subsequent props/methods) listed in the restricted runtime file use hlp file. In this app I believe the only object of craxdrt I reference is the Report object. I DO NOT access the ReportAlerts property, DeleteGroup method, or FieldMapping event (those listed as needing the royalty license).

Oliver
 
These are the only calls I am making:

Craxdrt.report object:

PrintOut method
TextObject.SetText method
Sections.ReportObjects.Count
Sections.ReportObjects.Kind (looking for the constant crTextObject)
Sections.ReportObjects.Name

Crviewerlibctl.ReportSourceRouter (part of crviewer.dll)

AddReport method
The ReportSource for the crviewer control is set to = my ReportSourceRouter object.

As far as I can tell everything under the Crviewer.dll is covered by the royalty-free runtime file list.
 
Well, as far as I can tell the issue related to my project group. I was running/building my app as part of a grp containing one standard exe project and one dll project. When running the app alone, not from the group, I don't get the runtime message (so far).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top