Search found 4 matches

by realife
Sun Jul 30, 2023 10:50 am
Forum: ActiveX
Topic: What's wrong with CSeries?
Replies: 1
Views: 12018

What's wrong with CSeries?

---------- CSeries lineSer; LineSer.put_ Color (RGB (255,0,0)); ------------ The above sentence reported an error of 80020005. But if you call this: -------------- CSeries lineSer; lineSer.get_ Color(); -------------- the color value can be obtained normally. I really don't know what the reason is? ...
by realife
Sat Jul 29, 2023 5:58 pm
Forum: ActiveX
Topic: A very simple code, but a "type mismatch" error occurred.
Replies: 2
Views: 12252

Re: A very simple code, but a "type mismatch" error occurred.

A very simple code, but a "type mismatch" error occurred. Please ask for help from experts! The code is as follows: void Cteechartdemo2Dlg::OnBnClickedLine1() { // TODO: CSeries lineSeries = (CSeries)m_Teechart1.Series(0); lineSeries.Clear(); for (int i = 0; i < 50; i++) { lineSeries.AddXY((double)...
by realife
Sat Jul 29, 2023 5:10 pm
Forum: ActiveX
Topic: A very simple code, but a "type mismatch" error occurred.
Replies: 2
Views: 12252

A very simple code, but a "type mismatch" error occurred.

A very simple code, but a "type mismatch" error occurred. Please ask for help from experts! The code is as follows: void Cteechartdemo2Dlg::OnBnClickedLine1() { // TODO: CSeries lineSeries = (CSeries)m_Teechart1.Series(0); lineSeries.Clear(); for (int i = 0; i < 50; i++) { lineSeries.AddXY((double)i...
by realife
Fri Jul 28, 2023 10:35 am
Forum: ActiveX
Topic: How to solve these compilation errors
Replies: 1
Views: 12247

How to solve these compilation errors

I encountered the following error message during the compilation process in a simple MFC (VS2022) program. May I ask how to solve it? 1、Error C2061: Syntax error: identifier "EPointerStyle" Error C2061: Syntax error: identifier "EBarStyle" Error C2061: Syntax error: identifier "ITeePicture" 2、Error ...