Our top level application( desktop.exe) is a .Net container application .
This container host different controls which are build over period of time and use different version of Tchart.
here is the brief history :
• we developed first a control ( contour Chart)using 2.0.2489.20960 version of tchart at that time the container application( desktop.exe) was not complied with licence.licx file and it workes fine.
• Later we developed another control( Bottle neck chart) using 3.5.3188.18560 version of tchart.
While launching application using new control we had license issue so we added licence.licx file in the desktop.exe solution
After adding this licence.licx file the older controls(contour Chart) stoped working . If I remove the tchar.dll ver 3.5.3188.18560 from the folder where Desktop.exe and the Bottle neck chart is located the older application start working. but new application will not work.
Tchart version using 2.0.2489.20960 is in different folder then desktop.exe.
Looks like due to licence.licx file being added to project it is always loading newer version of tchart
Here is how licence.licx files look
Steema.TeeChart.TChart, TeeChart
Steema.TeeChart.TChart, TeeChart
Steema.TeeChart.Web.WebChart, TeeChart
Regards,
Amit
supporting Multiple version of Tcharts
Hello Amit,
We'll test a similar setup to see whether we can provoke a license error. TeeChart version 3 offers a 'plugin-version' that ties the license to the assembly in which it is compiled. Please mail [email protected] with your customer details and we'll make a version available to you. With that setup the container application should continue to authorise the v2 license but the v3 module will be self contained.
In any case we recommend bringing TeeChart versions into line where commonly used in one apllication, if possible.
Regards,
Marc Meumann
We'll test a similar setup to see whether we can provoke a license error. TeeChart version 3 offers a 'plugin-version' that ties the license to the assembly in which it is compiled. Please mail [email protected] with your customer details and we'll make a version available to you. With that setup the container application should continue to authorise the v2 license but the v3 module will be self contained.
In any case we recommend bringing TeeChart versions into line where commonly used in one apllication, if possible.
Regards,
Marc Meumann
Steema Support
upgrading Tee chart from 2.0.2489 to 3.5.3188.18560.
Marc ,
We are exploring the possibility of upgrading our application from 2.0.2489 to 3.5.3188.18560. We ran into couple of compliation issue .
here is the details . The earlier code has something like this
private Steema.TeeChart.Tools.DrawLineItem rejectHighLineItem;
we are then using like this in code
rejectHighLineItem.EndPos.X = 1.0 ;
and like this
if (!Double.IsNaN(rejectHigh))
{
rejectHighLineItem.StartPos.Y = rejectHigh;
}
now at compile time we are getting following error
"Cannot modify the return value of 'Steema.TeeChart.Tools.DrawLineItem.EndPos' because it is not a variable."
can you suggerst how are we modify our code to do what we were doing earlier .
We are exploring the possibility of upgrading our application from 2.0.2489 to 3.5.3188.18560. We ran into couple of compliation issue .
here is the details . The earlier code has something like this
private Steema.TeeChart.Tools.DrawLineItem rejectHighLineItem;
we are then using like this in code
rejectHighLineItem.EndPos.X = 1.0 ;
and like this
if (!Double.IsNaN(rejectHigh))
{
rejectHighLineItem.StartPos.Y = rejectHigh;
}
now at compile time we are getting following error
"Cannot modify the return value of 'Steema.TeeChart.Tools.DrawLineItem.EndPos' because it is not a variable."
can you suggerst how are we modify our code to do what we were doing earlier .
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Re: upgrading Tee chart from 2.0.2489 to 3.5.3188.18560.
Hello,
This change was made to enable EndPos and StartPos to be serialized.
This is because StartPos and EndPos have been changed from a field to a property. You can modify the properties in a similar way:Amit wrote: "Cannot modify the return value of 'Steema.TeeChart.Tools.DrawLineItem.EndPos' because it is not a variable."
can you suggerst how are we modify our code to do what we were doing earlier .
Code: Select all
rejectHighLineItem.EndPos = new PointDouble(1.0, rejectHighLineItem.EndPos.Y);
if (!Double.IsNaN(rejectHigh))
{
rejectHighLineItem.StartPos = new PointDouble(rejectHighLineItem.StartPos.X, rejectHigh);
}
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/