Problems with TeeChart ActiveX6.0 in Visual Studio .2003
Posted: Sun Aug 14, 2005 6:58 am
Hi,
I am using the following configuration:
TeeChart Pro ActiveX V6 (V6.0.0.6)
Visual Studio .net 2003 (academic edition)
Windows 2000 SP4, (512MB, Athlon XP 1900+)
(The installation of TeeChart went without any error.)
Now I encounter the following problems:
1) Invoking TeeChart specific help via F1 key does not work
2) The installer did not add a TeeChart Symbol to the dialog editor. I had to add that by hand after the installation.
Now to more serious problems, concerning the building of MFC-applications using Visual Studio .NET (MFC VC++ project)
(I tried to translate error and warning messages from German to English.)
1) I create a dialog based MFC application (ActiveX support enabled)
2) Via the context menu in the dialog editor I insert an ActiveX control (TeeChart Pro ActiveX control V6). Selecting "Edit control" from the context menu of the control makes the control flicker and crashes the IDE.
3) Via the context menu of the control I add a Variable. VS .Net suggests the following:
Type: CTchart1 (tchart1.h and tchart1.cpp)
No Series classes etc. are created
4) The resulting project cannot be compiled. The compiler stops with the following error message:
"Compiler error C2660: CTchart1::CTchart1: function does not accept 1 argument". Here is a snippet from the code:
Ctest3Dlg::Ctest3Dlg(CWnd* pParent /*=NULL*/)
: CDialog(Ctest3Dlg::IDD, pParent)
, m_chart1(0)
{
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}
Any clues what is wrong here?
Many thanx in advance
Andreas
I am using the following configuration:
TeeChart Pro ActiveX V6 (V6.0.0.6)
Visual Studio .net 2003 (academic edition)
Windows 2000 SP4, (512MB, Athlon XP 1900+)
(The installation of TeeChart went without any error.)
Now I encounter the following problems:
1) Invoking TeeChart specific help via F1 key does not work
2) The installer did not add a TeeChart Symbol to the dialog editor. I had to add that by hand after the installation.
Now to more serious problems, concerning the building of MFC-applications using Visual Studio .NET (MFC VC++ project)
(I tried to translate error and warning messages from German to English.)
1) I create a dialog based MFC application (ActiveX support enabled)
2) Via the context menu in the dialog editor I insert an ActiveX control (TeeChart Pro ActiveX control V6). Selecting "Edit control" from the context menu of the control makes the control flicker and crashes the IDE.
3) Via the context menu of the control I add a Variable. VS .Net suggests the following:
Type: CTchart1 (tchart1.h and tchart1.cpp)
No Series classes etc. are created
4) The resulting project cannot be compiled. The compiler stops with the following error message:
"Compiler error C2660: CTchart1::CTchart1: function does not accept 1 argument". Here is a snippet from the code:
Ctest3Dlg::Ctest3Dlg(CWnd* pParent /*=NULL*/)
: CDialog(Ctest3Dlg::IDD, pParent)
, m_chart1(0)
{
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}
Any clues what is wrong here?
Many thanx in advance
Andreas