Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. 32bit vs. 64bit development

32bit vs. 64bit development

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studioquestionannouncement
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 8611413
    wrote on last edited by
    #1

    I am working more toward development using the Visual Studio suite, specifically VB and C# .NET. I have always coded on 32-bit OS. What I want to know is that when you write something is VS I am sure its compiled in 32-bit, but would it run on 64? Do you have to buy a special version of VS to be able to have applications that are compatible with both types of processors? Thanks Gezoonda

    F L M 3 Replies Last reply
    0
    • U User 8611413

      I am working more toward development using the Visual Studio suite, specifically VB and C# .NET. I have always coded on 32-bit OS. What I want to know is that when you write something is VS I am sure its compiled in 32-bit, but would it run on 64? Do you have to buy a special version of VS to be able to have applications that are compatible with both types of processors? Thanks Gezoonda

      F Offline
      F Offline
      fjdiewornncalwe
      wrote on last edited by
      #2

      There is no specific 64bit version of Visual Studio. In your project properties, on the build tab there is an entry called "Platform target". In that dropdown, you can select the application target. The default is usually set to "Any CPU" which means that your application will build and be compatible to run on 32bit or 64bit systems. I'm not 100% sure, but fairly certain that you would have to have Studio installed on a 64bit system to have the x64 option in this dropdown which would specifically target 64bit systems. That being said, 64bit systems will run the 32bit applications just find.

      I wasn't, now I am, then I won't be anymore.

      F 1 Reply Last reply
      0
      • F fjdiewornncalwe

        There is no specific 64bit version of Visual Studio. In your project properties, on the build tab there is an entry called "Platform target". In that dropdown, you can select the application target. The default is usually set to "Any CPU" which means that your application will build and be compatible to run on 32bit or 64bit systems. I'm not 100% sure, but fairly certain that you would have to have Studio installed on a 64bit system to have the x64 option in this dropdown which would specifically target 64bit systems. That being said, 64bit systems will run the 32bit applications just find.

        I wasn't, now I am, then I won't be anymore.

        F Offline
        F Offline
        Fabio V Silva
        wrote on last edited by
        #3

        Marcus Kramer wrote:

        you would have to have Studio installed on a 64bit system to have the x64 option in this dropdown which would specifically target 64bit systems.

        You have all the options in a 32 bit system and you can target 64 bit.

        1 Reply Last reply
        0
        • U User 8611413

          I am working more toward development using the Visual Studio suite, specifically VB and C# .NET. I have always coded on 32-bit OS. What I want to know is that when you write something is VS I am sure its compiled in 32-bit, but would it run on 64? Do you have to buy a special version of VS to be able to have applications that are compatible with both types of processors? Thanks Gezoonda

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          The full version of VS offers you the choice (x86/x64/AnyCPU) whatever your development system's OS is. The Express version of VS does not offer a choice, it is preset to "AnyCPU"; there are ways to modify the project files though, Google could guide you. :)

          Luc Pattyn [My Articles] Nil Volentibus Arduum

          1 Reply Last reply
          0
          • U User 8611413

            I am working more toward development using the Visual Studio suite, specifically VB and C# .NET. I have always coded on 32-bit OS. What I want to know is that when you write something is VS I am sure its compiled in 32-bit, but would it run on 64? Do you have to buy a special version of VS to be able to have applications that are compatible with both types of processors? Thanks Gezoonda

            M Offline
            M Offline
            mitchellm44
            wrote on last edited by
            #5

            Visual Studio is still a 32bit application and there is not a plan to change it to 64bit. 32 bit apps have their own Program Folders on 64 bit OS. As has been stated - you compile to AnyCpu and you are good. Where you can run into issues is where you interact between a 32 bit and 64 bit process. If you are using an Oracle client that is 64 bit - you may need to have a 64 bit program version, and vice versa with 32 bit (assuming running is on 64 bit OS). Its just a wider register from a 32 bit one, and that gives you more address space so it can be very useful if you are using large amounts of memory. = Mark Mitchell =

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups