Page 1 of 1

Problem with TeeEditor in 64 bit app

Posted: Tue Jul 16, 2019 1:51 pm
by 16684629
Hi

We are using the TeeChart Pro v2018 ActiveX Control in our C++ applications
We provide access to the chart properties using the TeeEditor tool ( via a form button)

Initialise:

Code: Select all

m_TeeEditor.SetChartLink(m_pChart->GetChartLink());
Show TeeChart properties Button response:

Code: Select all

m_pChart->TeeEditorShowEditor();
We notice that GetChartLink returns a LONG and not a DWORD.
In 64 bit where high memory is addressed GetChartLink() returns a negative value.
The result is the TeeEditor cannot be displayed.

I can also see many similar tool methods return a LONG instead of a DWORD .
Is this an issue Steema is aware of ?

I look forward to your response

kind regards
Mark

Re: Problem with TeeEditor in 64 bit app

Posted: Mon Jul 22, 2019 7:32 am
by Pep
Hello Marc,

for 64 bit you have to use :

Code: Select all

m_TeeEditor.SetChartLink64(m_pChart->GetChartLink64());

Re: Problem with TeeEditor in 64 bit app

Posted: Mon Jul 22, 2019 12:56 pm
by 16684629
Hi Pep,

Thank you for you support.
I somehow missed the x64 API calls.

Everything works fine now.

kindest regards
Mark