Jump to content
Software FX Community

Using ChartFX from a dll


abcd_1234_
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...