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. .NET (Core and Framework)
  4. .exe files from source code

.exe files from source code

Scheduled Pinned Locked Moved .NET (Core and Framework)
helptutorial
8 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.
  • S Offline
    S Offline
    shakins
    wrote on last edited by
    #1

    I hav created a program and i need to convert d source code into .exe file so as to make it platform-independent.can u please help me how to do this.

    P L P 3 Replies Last reply
    0
    • S shakins

      I hav created a program and i need to convert d source code into .exe file so as to make it platform-independent.can u please help me how to do this.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      shakins wrote:

      I hav created a program and i need to convert d source code into .exe file so as to make it platform-independent.can u please help me how to do this.

      This is not possible; an exe file is compiled for a specific target platform. You need to make the source platform independent and then compile that source on each platform that you want to run it on, to create a compatible object.

      Z 1 Reply Last reply
      0
      • S shakins

        I hav created a program and i need to convert d source code into .exe file so as to make it platform-independent.can u please help me how to do this.

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        If you've written your application in .NET, then it's not platform independent. It will only run in Operating Systems that have the .NET framework. You could possibly compile against Mono, but that still isn't platform independent, for instance it won't run on an old VAX server.

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

        My blog | My articles | MoXAML PowerToys | Onyx

        1 Reply Last reply
        0
        • S shakins

          I hav created a program and i need to convert d source code into .exe file so as to make it platform-independent.can u please help me how to do this.

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          shakins wrote:

          convert d source code into .exe

          You'll need a d compiler. Very few people here use d.

          shakins wrote:

          make it platform-independent

          That's unachievable.

          1 Reply Last reply
          0
          • L Lost User

            shakins wrote:

            I hav created a program and i need to convert d source code into .exe file so as to make it platform-independent.can u please help me how to do this.

            This is not possible; an exe file is compiled for a specific target platform. You need to make the source platform independent and then compile that source on each platform that you want to run it on, to create a compatible object.

            Z Offline
            Z Offline
            zahedonline
            wrote on last edited by
            #5

            You need a .NET Reflector refer the link http://www.red-gate.com/products/reflector/[^]

            ZAK

            L 1 Reply Last reply
            0
            • Z zahedonline

              You need a .NET Reflector refer the link http://www.red-gate.com/products/reflector/[^]

              ZAK

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              zaksoftwaredeveloper wrote:

              You need a .NET Reflector

              How will that help to make a program platform independent?

              P 1 Reply Last reply
              0
              • L Lost User

                zaksoftwaredeveloper wrote:

                You need a .NET Reflector

                How will that help to make a program platform independent?

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #7

                He wasn't replying to the OP, he was replying to you. Perhaps he just thinks you want Reflector and have forgotten where it is now since Lutz sold it. :rolleyes:

                "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                My blog | My articles | MoXAML PowerToys | Onyx

                L 1 Reply Last reply
                0
                • P Pete OHanlon

                  He wasn't replying to the OP, he was replying to you. Perhaps he just thinks you want Reflector and have forgotten where it is now since Lutz sold it. :rolleyes:

                  "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                  As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                  My blog | My articles | MoXAML PowerToys | Onyx

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  Pete O'Hanlon wrote:

                  Perhaps he just thinks you want Reflector

                  Still :confused:

                  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