Page 1 of 1

How to use 64 bit control in VS 2013

Posted: Tue Jan 19, 2016 7:14 pm
by 15676869
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

Re: How to use 64 bit control in VS 2013

Posted: Wed Jan 20, 2016 3:31 pm
by Christopher
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 5737 times