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. Making An Exe stand alone [modified]

Making An Exe stand alone [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studiohelpworkspace
5 Posts 4 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.
  • J Offline
    J Offline
    jannathali
    wrote on last edited by
    #1

    Hai i am having an exe,i want to move it from one pc to another. when i try it on other pc that dont have Visualstudio 2008 it is saying application configuration error.i am having a dll & which path should i give it to it. I am using Visual studio 2008

    modified on Thursday, December 10, 2009 1:58 AM

    C K S 3 Replies Last reply
    0
    • J jannathali

      Hai i am having an exe,i want to move it from one pc to another. when i try it on other pc that dont have Visualstudio 2008 it is saying application configuration error.i am having a dll & which path should i give it to it. I am using Visual studio 2008

      modified on Thursday, December 10, 2009 1:58 AM

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      You should either install the VC2008 redistributable package[^] on the target machine or statically link your exe to the MFC and C runtime libraries (you have to modify these in your project settings).

      Cédric Moonen Software developer
      Charting control [v2.0] OpenGL game tutorial in C++

      1 Reply Last reply
      0
      • J jannathali

        Hai i am having an exe,i want to move it from one pc to another. when i try it on other pc that dont have Visualstudio 2008 it is saying application configuration error.i am having a dll & which path should i give it to it. I am using Visual studio 2008

        modified on Thursday, December 10, 2009 1:58 AM

        K Offline
        K Offline
        KarstenK
        wrote on last edited by
        #3

        you need to make a release build (without debug dlls). Static linking is the easisest way to make it. :thumbsup: The professionell is to make a setup with installation of all components :~

        Press F1 for help or google it. Greetings from Germany

        1 Reply Last reply
        0
        • J jannathali

          Hai i am having an exe,i want to move it from one pc to another. when i try it on other pc that dont have Visualstudio 2008 it is saying application configuration error.i am having a dll & which path should i give it to it. I am using Visual studio 2008

          modified on Thursday, December 10, 2009 1:58 AM

          S Offline
          S Offline
          sunlin7
          wrote on last edited by
          #4

          The program will work well when you use the static c runtime libraray.

          S 1 Reply Last reply
          0
          • S sunlin7

            The program will work well when you use the static c runtime libraray.

            S Offline
            S Offline
            sunlin7
            wrote on last edited by
            #5

            you can use memu "Project"->"settings(Alt+F7)", click "complie" in dialog, then choose then choose "Code Generation", see the "use run-time libraray", choose "MultiThreaded" or "MultiThreaded Debug", rebuild project to apply changes.

            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