|
-
January 10th, 2009, 06:42 AM
#1
Run VB.Net application on both 32 nad 64 bit
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
-
January 10th, 2009, 04:11 PM
#2
Re: Run VB.Net application on both 32 nad 64 bit
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?
-
January 12th, 2009, 04:05 AM
#3
Re: Run VB.Net application on both 32 nad 64 bit
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
-
January 12th, 2009, 08:31 AM
#4
Re: Run VB.Net application on both 32 nad 64 bit
 Originally Posted by kku
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.
-
January 12th, 2009, 10:26 AM
#5
Re: Run VB.Net application on both 32 nad 64 bit
 Originally Posted by kku
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.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|