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. VS 2010 and XP

VS 2010 and XP

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studioquestion
8 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.
  • R Offline
    R Offline
    RomTibi
    wrote on last edited by
    #1

    I have made a program under VS 2010. It doesn't work on XP on other machines than mine. It asks on some DLLs. What can I do to build a program with VS 2010 that is fully compatible with Windows XP?

    36. When you surround an army, leave an outlet free. ... Do not press a desperate foe too hard. SUN-TZU - Art of War

    L _ 2 Replies Last reply
    0
    • R RomTibi

      I have made a program under VS 2010. It doesn't work on XP on other machines than mine. It asks on some DLLs. What can I do to build a program with VS 2010 that is fully compatible with Windows XP?

      36. When you surround an army, leave an outlet free. ... Do not press a desperate foe too hard. SUN-TZU - Art of War

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

      You need to find out which DLLs are required and install them on the other machines. Generally this will be the Win32 or MFC redistributable libraries; see here[^] for further details.

      The best things in life are not things.

      R 2 Replies Last reply
      0
      • R RomTibi

        I have made a program under VS 2010. It doesn't work on XP on other machines than mine. It asks on some DLLs. What can I do to build a program with VS 2010 that is fully compatible with Windows XP?

        36. When you surround an army, leave an outlet free. ... Do not press a desperate foe too hard. SUN-TZU - Art of War

        _ Offline
        _ Offline
        _Superman_
        wrote on last edited by
        #3

        You can try to link with the static libraries of MFC, ATL and the C runtime time. By default it links to the dynamic libraries. Go to Project -> Properties -> Configuration Properties -> General. If you're using MFC, change Use of MFC from Use MFC in a Shared DLL to Use MFC in a Static Library. If you're using ATL, change Use of ATL from Dynamic Link to ATL to Static Link to ATL. Finally go to Project -> Properties -> Configuration Properties -> C/C++ -> Code Generation -> Runtime Library. Change /MDd to /MTd (Debug mode) or /MD to /MT (Release mode).

        «_Superman_»  _I love work. It gives me something to do between weekends.

        _Microsoft MVP (Visual C++)

        Polymorphism in C

        B R 2 Replies Last reply
        0
        • _ _Superman_

          You can try to link with the static libraries of MFC, ATL and the C runtime time. By default it links to the dynamic libraries. Go to Project -> Properties -> Configuration Properties -> General. If you're using MFC, change Use of MFC from Use MFC in a Shared DLL to Use MFC in a Static Library. If you're using ATL, change Use of ATL from Dynamic Link to ATL to Static Link to ATL. Finally go to Project -> Properties -> Configuration Properties -> C/C++ -> Code Generation -> Runtime Library. Change /MDd to /MTd (Debug mode) or /MD to /MT (Release mode).

          «_Superman_»  _I love work. It gives me something to do between weekends.

          _Microsoft MVP (Visual C++)

          Polymorphism in C

          B Offline
          B Offline
          bob16972
          wrote on last edited by
          #4

          I know this is not my thread, but I have to ask this... Last time I checked this out, I walked away thinking I could not do this and utilize MFC extension librairies. Is this still the case? Not saying this would impact the OP's project but if this is still a limitation, it might be worth mentioning.

          1 Reply Last reply
          0
          • L Lost User

            You need to find out which DLLs are required and install them on the other machines. Generally this will be the Win32 or MFC redistributable libraries; see here[^] for further details.

            The best things in life are not things.

            R Offline
            R Offline
            RomTibi
            wrote on last edited by
            #5

            Merci

            36. When you surround an army, leave an outlet free. ... Do not press a desperate foe too hard. SUN-TZU - Art of War

            1 Reply Last reply
            0
            • _ _Superman_

              You can try to link with the static libraries of MFC, ATL and the C runtime time. By default it links to the dynamic libraries. Go to Project -> Properties -> Configuration Properties -> General. If you're using MFC, change Use of MFC from Use MFC in a Shared DLL to Use MFC in a Static Library. If you're using ATL, change Use of ATL from Dynamic Link to ATL to Static Link to ATL. Finally go to Project -> Properties -> Configuration Properties -> C/C++ -> Code Generation -> Runtime Library. Change /MDd to /MTd (Debug mode) or /MD to /MT (Release mode).

              «_Superman_»  _I love work. It gives me something to do between weekends.

              _Microsoft MVP (Visual C++)

              Polymorphism in C

              R Offline
              R Offline
              RomTibi
              wrote on last edited by
              #6

              Thank you both

              36. When you surround an army, leave an outlet free. ... Do not press a desperate foe too hard. SUN-TZU - Art of War

              modified on Sunday, July 17, 2011 11:34 PM

              1 Reply Last reply
              0
              • L Lost User

                You need to find out which DLLs are required and install them on the other machines. Generally this will be the Win32 or MFC redistributable libraries; see here[^] for further details.

                The best things in life are not things.

                R Offline
                R Offline
                RomTibi
                wrote on last edited by
                #7

                One more question: How can I determine that that Visual Studio 2010 Redistributable Package is installed on a computer?

                36. When you surround an army, leave an outlet free. ... Do not press a desperate foe too hard. SUN-TZU - Art of War

                L 1 Reply Last reply
                0
                • R RomTibi

                  One more question: How can I determine that that Visual Studio 2010 Redistributable Package is installed on a computer?

                  36. When you surround an army, leave an outlet free. ... Do not press a desperate foe too hard. SUN-TZU - Art of War

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

                  I'm not sure of the answer, but this link[^] may help you.

                  The best things in life are not things.

                  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