Distribution on 32 and 64 bit systems

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
lilo
Newbie
Newbie
Posts: 61
Joined: Thu Sep 23, 2010 12:00 am

Distribution on 32 and 64 bit systems

Post by lilo » Sun Dec 05, 2010 9:00 pm

Hi,

When distributing my net framework application on 32 and 64 bit systems do i need to distribute seperate 32 and 64 bit teechart.dll's' ?

lilo
Newbie
Newbie
Posts: 29
Joined: Thu Sep 30, 2010 12:00 am

Re: Distribution on 32 and 64 bit systems

Post by lilo » Tue Dec 07, 2010 12:54 am

To be more specific, I installed teechart 2010 on win vista 32 bit and compiled my app on the same machine using "any cpu" as the target. I need a 64 bit version of my app installed into the 64 bit program files directory on a 64 bit windows 7 machine. Now, to take advantage of full 64 bit processing, do i need to include a 64 bit compiled teechart dll or will the currently installed version do the job?

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

Re: Distribution on 32 and 64 bit systems

Post by Narcís » Tue Dec 07, 2010 8:36 am

Hi lilo,

For building 64 bit native applications you need to compile your applications with TeeChart x64 build. Please notice that this assembly is for compilation purposes only. To use TeeChart at designtime you'll need x86 assemblies.
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

lilo
Newbie
Newbie
Posts: 29
Joined: Thu Sep 30, 2010 12:00 am

Re: Distribution on 32 and 64 bit systems

Post by lilo » Tue Dec 07, 2010 10:19 am

Thanks Narcis,

If i select any cpu as the target on 32 bit vista, the currently installed teechart dlls should work under 64 bit (x64) and 32 bit (x386) windows, just like native 64 bit and 32 bit clr code should'nt they? Assuming, they have compiled on net 4 with any cpu as the target. So, i shouldn't need the 64 bit assemblies?

lilo
Newbie
Newbie
Posts: 29
Joined: Thu Sep 30, 2010 12:00 am

Re: Distribution on 32 and 64 bit systems

Post by lilo » Tue Dec 07, 2010 10:22 am

i mean't x86 :D

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

Re: Distribution on 32 and 64 bit systems

Post by Narcís » Tue Dec 07, 2010 10:45 am

Hi lilo,

I'm afraid this is not how this work. If I remember correctly, In a 32 bit machine, if you compile applications with "Any CPU" platform they will be built in x86 mode. They will work in a x64 machine but they won't take profit of it. To build 64 bit native applications you'll need the specific assemblies and build them in x64 mode in Visual Studio. In a x64 machine "Any CPU" would already build 64 bit applications.
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