Are there issues with mixing TeeChart ActiveX versions on the same system? We initially had TeeChart 5.0 being used as an object within Web pages. When we upgraded to TeeChart 6.0 (and changed the CLSID values to correspond to the new control) we started receiving “Access violation” errors upon loading the page. This even occurred with the TeeChart samples in the “Internet Explorer” directory. When we revert back to TeeChart 5.0 the errors go away, and everything works fine.
Do you have any suggestions? We would like to use TeeChart 6.0 but it is unusable in this state.
Thanks,
Mark
Access violation errors when upgrading to TeeChart 6.0
-
- Newbie
- Posts: 10
- Joined: Wed May 12, 2004 4:00 am
Hi Mark,
this should not be a problem. I thing that you should be aware is that if you've both versions installed on the same system you must use the TeeChart.TChart.5 and TeeChart.TChart.6 to create the objects instead of TeeChart.TChart.
this should not be a problem. I thing that you should be aware is that if you've both versions installed on the same system you must use the TeeChart.TChart.5 and TeeChart.TChart.6 to create the objects instead of TeeChart.TChart.
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 10
- Joined: Wed May 12, 2004 4:00 am
Actually, we are instantiating the version 6.0 TChart object in our html code thusly:
<OBJECT classid="clsid:536600D3-70FE-4C50-92FB-640F6BFC49AD"
CODEBASE="/teechart6.cab#Version=6,0,0,0"
id=TChart0
TYPE="application/x-oleobject"
width=100%
height=100%
align=center
hspace=0
vspace=0
>
</OBJECT>
And previously for version 5.0:
<OBJECT classid="clsid:B6C10489-FB89-11D4-93C9-006008A7EED4"
CODEBASE="/teechart5.cab#Version=5,0,0,0"
id=TChart0
TYPE="application/x-oleobject"
width=100%
height=100%
align=center
hspace=0
vspace=0
>
</OBJECT>
Is there a problem with this approach?
Thanks,
Mark
<OBJECT classid="clsid:536600D3-70FE-4C50-92FB-640F6BFC49AD"
CODEBASE="/teechart6.cab#Version=6,0,0,0"
id=TChart0
TYPE="application/x-oleobject"
width=100%
height=100%
align=center
hspace=0
vspace=0
>
</OBJECT>
And previously for version 5.0:
<OBJECT classid="clsid:B6C10489-FB89-11D4-93C9-006008A7EED4"
CODEBASE="/teechart5.cab#Version=5,0,0,0"
id=TChart0
TYPE="application/x-oleobject"
width=100%
height=100%
align=center
hspace=0
vspace=0
>
</OBJECT>
Is there a problem with this approach?
Thanks,
Mark
Hi Mark,
Could you please test if this is the problem you're having ?
Yes, this is correct.Is there a problem with this approach?
I'm able to reproduce the problem here. It comes when you're trying to run and html page which contains a TChart v6 object after you have opened another one which contains a TChart v5 object. It seems that IE saves a temporary file with the definitions,... and since this file is deleted the error happens. To solve this I've closed all the IE windows (this will automatically remove the memory or temporary file) and then run the html pages.“Access violation” errors upon loading the page. This even occurred with the TeeChart samples in the “Internet Explorer” directory. When we revert back to TeeChart 5.0 the errors go away, and everything works fine.
Could you please test if this is the problem you're having ?
Pep Jorge
http://support.steema.com
http://support.steema.com