Solved

What is a 32-bit application?

Posted on 2014-03-17
5
266 Views
Last Modified: 2014-03-20
I got this question when I was hosting my .NET web application on IIS7. I had to enable 32-bit applications to get my web application to work. So I realized it is a 32-bit application. Is it 32-bit because I compiled it on a 32-bit machine?

I have created that web application on a windows XP 32-bit using Visual Studio 2010. Can you please advise what makes an application 32-bit or 64-bit?
0
Comment
Question by:Angel02
5 Comments
 
LVL 31

Accepted Solution

by:
Marco Gasi earned 300 total points
ID: 39935223
Is it 32-bit because I compiled it on a 32-bit machine?
Almsot yes. I can't go down in details of differencecs between 32 bit and 64 bit architectures because I don't know so deeply the hardware, but what makes an application a 32 or a 64 bit application is the fact to have been compiled by a 32 bit compiler or a 64 bit compiler. The foundamental fact is that ius the compiler, not the ystem, which determines the nature of an application. If you use Delphi or VB 32 bit on a 64 bit machine, you resulting applications will be 32 bit even if they have been compiled on a 64 bit system

I repeat, I can't explain the differences between 32 bit and 64 bit compilers, but maybe this simple answer can be enough for you.

Cheers
0
 

Author Comment

by:Angel02
ID: 39935277
Thank you! That helps.
At this point I don't need the differences. But I would like to know how to determine the compiler version on my current machine. Can you please advise?

If I upgrade my machine to 64-bit, can I still keep my application as 32-bit?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39935303
Marco is right about the compiler.  The basic difference between 32-bit and 64-bit is integer size and memory addressing.  The compiler has to know about it to put it in your program.
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 100 total points
ID: 39935314
If I upgrade my machine to 64-bit, can I still keep my application as 32-bit?
So far you can.  But it will have the limits of 32-bit addressing and arithmetic.  If that's all you need, no problem.
0
 
LVL 78

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 100 total points
ID: 39935455
A 64Bit CPU running a 64bit operating system can compile and run both 32 and 64 bit applications.  A 32 bit operating system can compile both but cannot run the 64 bit program
You need first a 64 bit CPU, then the operating system and then the compiler
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now