|
New Version - ProgID |
Posted by Brian Mallett on Feb-24-2009 17:46 |
|
Hi
When the new version comes out will it have a different ProgId, so old versions and new versions of chartdirector could coexist on the same web server, for example in different asp virtual directories?
Currently I use just CreateObject("ChartDirector.API") to access the chart director object.
So I assume it will use the most recent and new controls that uses that ID
Will it be possible to use, for example ChartDirector.API.4.1 or something similar? I know that COM has some simple versioning.
Thanks in advance
Brian
PS Great Product, its the olny third party control I use and the only one I recommend to others. |
Re: New Version - ProgID |
Posted by Peter Kwan on Feb-25-2009 01:40 |
|
Hi Brian,
For ChartDirector for ASP/COM/VB, new ChartDirector versions will be binary compatible with previous ChartDirector versions. So ChartDirector Ver 5.0 will be binary compatible with ChartDirector Ver 4.x, 3.x, 2.x and 1.x.
When you use ChartDirector.API, the OLE framework in your computer will load the latest version of ChartDirector available on your machine. If your code is written based on ChartDirector Ver 4.1, but the latest ChartDirector version on your machine is of Ver 5.0, your code will continue to run, because ChartDirector Ver 5.0 is binary compatible with Ver 4.1.
Versioning in COM does not mean that two versions can coexist. It means the latest version can offer an interface that is binary compatible with a previous version by supporting the CLSID of the previous version, which is the case in ChartDirector.
Hope this can help.
Regards
Peter Kwan |
|