How to use 64 bit control in VS 2013

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
NSAI
Newbie
Newbie
Posts: 5
Joined: Fri Nov 13, 2015 12:00 am

How to use 64 bit control in VS 2013

Post by NSAI » Tue Jan 19, 2016 7:14 pm

I am trying to use the 64 bit TChart .NET control in my 64 bit windows application. I can add a reference to my project from the folder
C:\Program Files (x86)\Steema Software\Steema TeeChart for .NET 2015 4.1.2015.12160\net451\x64 and the program compiles. But I can not see the TChart control in my visual studio 2013 toolbox. I tried to add the DLL manually to the toolbar and it does not work.

I read in your forum that you have to use 32 bit control at the design time and change reference to 64 bit for the release. This is extremely cumbersome. I have 4 or 5 projects in my solution that uses TChart control. Do I have to change the reference every time for all the 4-5 projects before the release? I do multiple builds in a week and this will be very difficult. Is there an easier solution?

Thanks

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: How to use 64 bit control in VS 2013

Post by Christopher » Wed Jan 20, 2016 3:31 pm

NSAI wrote: I read in your forum that you have to use 32 bit control at the design time and change reference to 64 bit for the release. This is extremely cumbersome. I have 4 or 5 projects in my solution that uses TChart control. Do I have to change the reference every time for all the 4-5 projects before the release? I do multiple builds in a week and this will be very difficult. Is there an easier solution?
I'm afraid there isn't. The Visual Studio designtime surface is an 32-bit application and so is incompatible with 64-bit controls, as Microsoft says here:
64bitcontrol.PNG
64bitcontrol.PNG (16.86 KiB) Viewed 5734 times
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply