0
votes

Actually we have integrated Teechart in our application and it works fine on windows 7 64 bit.

But now we moved to windowss 8 where our application 32 bit works fine with Teechart but 64 bit gives access violation error.

we taught it might be our issue so we build samople application seriesTxt source and tried to execute we found that the Teeeditor is disable and in out code we used it to set legend size that where it crashes.

Can you please execute the sample code in the Example by building in 64 bit and check on wwindows 8 (64 bit) whether it works fine.

Also we found out the issue might be because of casting some variable in DWORD which work in windows 7 but windows 8 required the type casting to be DWORD64 may be some where in your code this can be the issue.

Thanks Akshay

1
What error are you getting? Have you registered the 64bit version of the ocx shipped with the TeeChart installation?Yeray
I don't understand the second part of the problem. Is it related? If not, please ask it in a different/new question.Yeray

1 Answers

1
votes

Note we changed the CLSIDs of the components on TeeChart ActiveX v2014.0.0.2.
However, I'm afraid the demo in the "Examples\Visual C++\Version 6\SeriesTextSource" folder still references the old CLSIDs.
Updating them I could build and run the project without errors in Visual Studio 2010 here, both in 32 and 64bit, in a Windows 8.1 64bit machine.

Find here the corrected project: http://goo.gl/7Ro3OS

Also check you have both the 32bit and the 64bit versions of the .ocx registered. To register them, open an elevated command prompt at the TeeChart installation path and run:

regsvr32 "TeeChart2014.ocx"
regsvr32 "64bit files\TeeChart201464.ocx"