Using TChart .NET with VS 2005 C++/CLI?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
EricWampner
Newbie
Newbie
Posts: 1
Joined: Wed Dec 04, 2002 5:00 am

Using TChart .NET with VS 2005 C++/CLI?

Post by EricWampner » 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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Oct 24, 2006 10:04 am

Hi EricWampner,

Visual C++ 2005 Express Edition only supports Framework v2.0. Until now, the TeeChart.Lite assemblies were only for Framework v1.1. Now we have added assemblies compiled with Framework v2.0 at the TeeChart Lite v2 installer and they work fine with VC++ 2005 Express. You can download the new installer at the client area.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply