Click to See Complete Forum and Search --> : Run VB.Net application on both 32 nad 64 bit
kku
January 10th, 2009, 05:42 AM
Hi,
I developed an application that i compiled and run on 32 bit..but I wish to rum my application both 32 and 64 bit..can it is possible ..
when i change platform x64 from solution project property then it does not run on 32 bit and if i select any CPU then it run 32 bit but not 64 bit...
thanks
From
Adnanio Brzzzzz
dglienna
January 10th, 2009, 03:11 PM
All 32 bit programs will run on a 64 bit system, but you can obviously only compile (as well as run) apps on a 64 bit platform.
If you can't have over 4gb in your pc, why write software that addresses 8gb?
kku
January 12th, 2009, 03:05 AM
Hi,
Your first point is confusing me because it’s not necessary that all 32 bit apps run on 64 bit and about your 2nd point my application have not any storage limitation
jmedved
January 12th, 2009, 07:31 AM
I developed an application that i compiled and run on 32 bit..but I wish to rum my application both 32 and 64 bit..can it is possible ..
when i change platform x64 from solution project property then it does not run on 32 bit and if i select any CPU then it run 32 bit but not 64 bit...
Just put target platform as any and it will run as 32-bit on 32-bit systems and as 64-bit on 64-bit system. .NET code is not a problem but take care to check all interop since you may have problems with it when porting.
TheCPUWizard
January 12th, 2009, 09:26 AM
Hi,
Your first point is confusing me because it’s not necessary that all 32 bit apps run on 64 bit and about your 2nd point my application have not any storage limitation
By default, ANY Windows Compliant User Mode Application wil run as a 32 bit process on any of the 64 bit editions of windows.
What dglienna was referring to is that a 32 bit process (on either a 32 or 64 bit platform) has a limited address space of either 2GB or 3GB, this does not apply to 64 bit processes.
Note that 64 bit processes tend to be bigger and run slower than their 32 bit counterparts. Consider that every reference takes twice as much memory (and therefore only half as many can possibly fit in the processor cache.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.