Hi,
We are developing a Powerbuilder application using TeeChart8.ocx (8.0.0.3 ).However, this client application needs to be installed on a PC that has another application which uses teechart.ocx (4.0.1.0).
The old client with version 4 works with both teechart.ocx registered...
In the client application with version 8 I get always a "DAX" Error message ( access violation).
If I unregister the old version 4 it works.
Thanks,
Thomas
teechart ocx v4 and v8 installed
Hi Thomas,
please confirm that TeeChart4.ocx was registered in the machine before version 8. Version 8, when installed , will check for older versions of teeChart and modify the default ocx flagged in the registry of the machine. That will affect, for example, a default Chart creation that is not fixed to a specific TeeChart version GUID ... an ambiguous line would, eg, be: myChart = new TeeChart.TChart. That would take the current TChart if not fixed as resource in a project, current being last registered version. Otherwise, you can fix creation by version. eg. myChart = new TeeChart.TChart.8. That may not be the cause of the problem, I'm not familiar with the exact syntax or setup used in Powerbuilder, but please check these elements as factors.
please confirm that TeeChart4.ocx was registered in the machine before version 8. Version 8, when installed , will check for older versions of teeChart and modify the default ocx flagged in the registry of the machine. That will affect, for example, a default Chart creation that is not fixed to a specific TeeChart version GUID ... an ambiguous line would, eg, be: myChart = new TeeChart.TChart. That would take the current TChart if not fixed as resource in a project, current being last registered version. Otherwise, you can fix creation by version. eg. myChart = new TeeChart.TChart.8. That may not be the cause of the problem, I'm not familiar with the exact syntax or setup used in Powerbuilder, but please check these elements as factors.
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi,
I confirm that teechart.ocx (version4) was registered in the machine before teechart8.ocx.
For a test I unregistered both versions and after this I registered version 4 and version8.
After this it works for the first time (open screen with version8, draw, close screen), but shortly after I get again the dax error messages...
I confirm that teechart.ocx (version4) was registered in the machine before teechart8.ocx.
For a test I unregistered both versions and after this I registered version 4 and version8.
After this it works for the first time (open screen with version8, draw, close screen), but shortly after I get again the dax error messages...
Hi Thomas,
ok. We need more information to be able to find where the problem is.
With respect to my previous post, which code are you using to create the TeeChart object in both apps ? Have you tried to use the line specifying the version (in case for v : myChart = new TeeChart.TChart.8 ?
In case you still getting the same error, would you be so kind to send us two sample apps with which we can see the code you're using and be able reproduce the problem here ?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
ok. We need more information to be able to find where the problem is.
With respect to my previous post, which code are you using to create the TeeChart object in both apps ? Have you tried to use the line specifying the version (in case for v : myChart = new TeeChart.TChart.8 ?
In case you still getting the same error, would you be so kind to send us two sample apps with which we can see the code you're using and be able reproduce the problem here ?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Pep Jorge
http://support.steema.com
http://support.steema.com