Jump to content
Software FX Community

Using ChartFX from a dll


abcd_1234_

Recommended Posts

Hi there,
We are building a VC#.NET dll for providing charts in Our VC++ MFC application (WinXP OS)
This dll uses the ChartFX.WinForms.dll for generating the charts.

As per the documentation titled:
"Q6101010. How to manually add a Chart FX license to an executable"
At:
http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/610/1/010.htm

We tried the procedure described stepwise and encountering the below error.
Note:  For the step 2 we are using: ChartFX.WinForms
 For the step 4 we are using: lc /target:OurApp.exe /complist:Licenses.licx /i:ChartFX.WinForms.dll
 All the above files are in the same folder
Error:
 Processing complist 'Licenses.licx'...
 Licenses.licx (1) : error LC0003 : Unable to resolve type 'ChartFX.WinForms'

Looks like the lc command is unable to resolve ChartFX types. We have ChartFX for VS 2005 installed on this machine.
Is there anything we are missing or what else should we ensure so this works..
Any help is appreciated.
Thanks
Tejo

Link to comment
Share on other sites

Frank, Please find the attached licenses file (As a .licx file would not upload to this post, I added the .txt to it).

Here is the command I'm using:

lc /target:OurApp.exe /complist:Licenses.licx /i:ChartFX.WinForms.dll

Just to be curious! also tried the command on the DLL (which calls ChartFX) that our application uses.

lc /target:OurDLL.dll /complist:Licenses.licx /i:ChartFX.WinForms.dll

All files in the same folder. But always get the error:

Licenses.licx(1): error LC0003: Unable to resolve type 'ChartFX.WinForms.Chart'

Thanks for any help

Tejo

Link to comment
Share on other sites

Trying to see if one namespace-dll combo works before we add the others that we use.

The other namespaces that we use are:

ChartFX.WinForms

ChartFX.WinForms

ChartFX.WinForms.DataProviders

ChartFX.WinForms.DataProviders

ChartFX.WinForms.Statistical

ChartFX.WinForms.Statistical

Guess the corresponding dlls are:

ChartFX.WinForms.dll, ChartFX.WinForms.Base.dll

ChartFX.WinForms.Data.dll

ChartFX.WinForms.Data.dll

ChartFX.WinForms.Statistical.dll

ChartFX.WinForms.Statistical.dll

 

Link to comment
Share on other sites

Thanks Frank. It works!

As we are using a different version of CFX from that described in the article, we weren't clear what the 'ChartFX' in the .licx was for. But now it makes sense. (Class Name, Dll Name) w/ (Dll File Name)

Thanks again

Make it a great day

Tejo

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...