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. C / C++ / MFC
  4. Release Version

Release Version

Scheduled Pinned Locked Moved C / C++ / MFC
announcementc++question
7 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.
  • K Offline
    K Offline
    Kash
    wrote on last edited by
    #1

    I want to send the boss an update of my work. How does one go about compiling a mfc project so that the .exe can be run on any machine? I'm running VC++6 Professional edition on Win2K. thanks, kash

    J L W 3 Replies Last reply
    0
    • K Kash

      I want to send the boss an update of my work. How does one go about compiling a mfc project so that the .exe can be run on any machine? I'm running VC++6 Professional edition on Win2K. thanks, kash

      J Offline
      J Offline
      Jon Hulatt
      wrote on last edited by
      #2

      Build Menu, Set Active Configuration. The build your project. Signature space for rent. Apply by email to....

      K 1 Reply Last reply
      0
      • K Kash

        I want to send the boss an update of my work. How does one go about compiling a mfc project so that the .exe can be run on any machine? I'm running VC++6 Professional edition on Win2K. thanks, kash

        L Offline
        L Offline
        l a u r e n
        wrote on last edited by
        #3

        u need to make an installation package for distribution


        "... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away"
        biz stuff   about me

        K 1 Reply Last reply
        0
        • L l a u r e n

          u need to make an installation package for distribution


          "... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away"
          biz stuff   about me

          K Offline
          K Offline
          Kash
          wrote on last edited by
          #4

          There's no mention of this in Help. Do you have any suggestions? Thanks Kash

          1 Reply Last reply
          0
          • J Jon Hulatt

            Build Menu, Set Active Configuration. The build your project. Signature space for rent. Apply by email to....

            K Offline
            K Offline
            Kash
            wrote on last edited by
            #5

            I tried this, but when the program executes, it returns error message saying missing dll files.

            S 1 Reply Last reply
            0
            • K Kash

              I want to send the boss an update of my work. How does one go about compiling a mfc project so that the .exe can be run on any machine? I'm running VC++6 Professional edition on Win2K. thanks, kash

              W Offline
              W Offline
              Wouter Dhondt
              wrote on last edited by
              #6

              Go to your project settings. Select "Use MFC in a static library". Rebuild all. Your exe will be bigger, but you won't need to include the mfc dll's. ----------------------- New and improved: kwakkelflap.com My first CP article: Pseudoregisters[^] "When I hear of Schrödinger's cat, I reach for my gun." - Stephen Hawking

              1 Reply Last reply
              0
              • K Kash

                I tried this, but when the program executes, it returns error message saying missing dll files.

                S Offline
                S Offline
                Steve S
                wrote on last edited by
                #7

                If the DLLs are named things like MFCxxxD.DLL, then you have not built a release version, but a debug version. In the "Build/Set Active Configuration", you should probably have "proj - Win32 Debug" and "proj - Win32 Release", it's the release you should select, then do a Rebuild All. You can also use the Depends tool to see what DLLs your exe needs. It's possible that there is no MFC release runtime on the other machine, but unlikely. Steve S [This signature space available for rent]

                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