Using TChart .NET with VS 2005 C++/CLI?
Posted: Mon Oct 23, 2006 7:17 pm
Using Visual Studio C++ 2005 Express Edition 8.0.50727.42
TeeChart.Lite.dll Assembly version 2.0.2263.29186
I create a new CLR Windows Forms application. I then add the dll to the toolbox and select it. I add a TChart component to the form. It generates code like:
this->MyChart = (gcnew Steema::TeeChart::TChart());
This generates the following error:
Form1.h(64) : error C3699: '^' : cannot use this indirection on type 'System::ComponentModel::IContainer'
compiler replacing '^' with '*' to continue parsing
I'm currently evaluating moving from C++ Builder/VCL TChart to VS2005 C++/.NET TChart. I'm new to this, but I've been told it should work.
If I create a C# project and perform the same action it works fine. Can you offer any assistance on this issue?
TeeChart.Lite.dll Assembly version 2.0.2263.29186
I create a new CLR Windows Forms application. I then add the dll to the toolbox and select it. I add a TChart component to the form. It generates code like:
this->MyChart = (gcnew Steema::TeeChart::TChart());
This generates the following error:
Form1.h(64) : error C3699: '^' : cannot use this indirection on type 'System::ComponentModel::IContainer'
compiler replacing '^' with '*' to continue parsing
I'm currently evaluating moving from C++ Builder/VCL TChart to VS2005 C++/.NET TChart. I'm new to this, but I've been told it should work.
If I create a C# project and perform the same action it works fine. Can you offer any assistance on this issue?