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 C++ project: does not work another computer

VS C++ project: does not work another computer

Scheduled Pinned Locked Moved C / C++ / MFC
c++visual-studiocsharpdebugginghelp
18 Posts 8 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 ShilpiP

    MFC42D.DLL MFCN42D.DLL MFCO42D.DLL MSVCRTD.DLL paste these dll on system32. It will solve your problem. :)

    Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

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

    :~ He's talking about VC2005, not VC6.

    Cédric Moonen Software developer
    Charting control [v1.4 - Updated]

    S 1 Reply Last reply
    0
    • S ShilpiP

      MFC42D.DLL MFCN42D.DLL MFCO42D.DLL MSVCRTD.DLL paste these dll on system32. It will solve your problem. :)

      Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

      G Offline
      G Offline
      Gofur Halmurat
      wrote on last edited by
      #5

      I use Visual Studio 2005, those dlls should be like these: MFC80D.DLL MFCN80D.DLL MFCO80D.DLL MSVCRTD.DLL But, still not clear, Why should use always copy the dlls into system, my program is like 0.4 mb, the dlls are about 10 mb For the simple project, why should i hold the dlls

      It is never late to learn

      O 1 Reply Last reply
      0
      • S ShilpiP

        MFC42D.DLL MFCN42D.DLL MFCO42D.DLL MSVCRTD.DLL paste these dll on system32. It will solve your problem. :)

        Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

        N Offline
        N Offline
        Naveen
        wrote on last edited by
        #6

        Shilpi Boosar wrote:

        MFC42D.DLL

        mfc42d.dll is used by vc6. The mfc dlls with VS 2005 starts with mfc80

        nave [OpenedFileFinder]

        1 Reply Last reply
        0
        • C Cedric Moonen

          :~ He's talking about VC2005, not VC6.

          Cédric Moonen Software developer
          Charting control [v1.4 - Updated]

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

          u r Right, that was my mistake.

          Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

          R 1 Reply Last reply
          0
          • S ShilpiP

            MFC42D.DLL MFCN42D.DLL MFCO42D.DLL MSVCRTD.DLL paste these dll on system32. It will solve your problem. :)

            Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

            CPalliniC Offline
            CPalliniC Offline
            CPallini
            wrote on last edited by
            #8

            i.e the ugly way. :)

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

            In testa che avete, signor di Ceprano?

            1 Reply Last reply
            0
            • C Cedric Moonen

              You have to make a release version of your program and install vcredist_x86.exe on the target machine. It can be dowloaded here[^]. If you have the VC SP1, scroll down the page to get the version for the SP1.

              Cédric Moonen Software developer
              Charting control [v1.4 - Updated]

              G Offline
              G Offline
              Gofur Halmurat
              wrote on last edited by
              #9

              Hello, Thanks for your reply I made a release mode, but it does work as debug mode, that is one thing. Another thing, do u think that Installing vcredist_x86.exe on the target machine, to run my application? Thanks

              It is never late to learn

              C 1 Reply Last reply
              0
              • G Gofur Halmurat

                Hello, Thanks for your reply I made a release mode, but it does work as debug mode, that is one thing. Another thing, do u think that Installing vcredist_x86.exe on the target machine, to run my application? Thanks

                It is never late to learn

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

                Gofur Halmurat wrote:

                Another thing, do u think that Installing vcredist_x86.exe on the target machine, to run my application?

                :confused: sorry, I didn't understand the question. If you want to run your application on the target machine, then you'll need to execute vcredist_x86 on it. This will install the C-runtime libraries and the MFC libraries.

                Cédric Moonen Software developer
                Charting control [v1.4 - Updated]

                1 Reply Last reply
                0
                • S ShilpiP

                  u r Right, that was my mistake.

                  Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

                  R Offline
                  R Offline
                  Rajesh R Subramanian
                  wrote on last edited by
                  #11

                  Shilpi Boosar wrote:

                  u r Right

                  May I please ask you to STOP using SMS language on the boards? Don't you have a keyboard with all the keys in it? :|

                  Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                  CPalliniC S 2 Replies Last reply
                  0
                  • R Rajesh R Subramanian

                    Shilpi Boosar wrote:

                    u r Right

                    May I please ask you to STOP using SMS language on the boards? Don't you have a keyboard with all the keys in it? :|

                    Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                    CPalliniC Offline
                    CPalliniC Offline
                    CPallini
                    wrote on last edited by
                    #12

                    u r right but plz help coz urgent... :-D

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                    In testa che avete, signor di Ceprano?

                    S 1 Reply Last reply
                    0
                    • R Rajesh R Subramanian

                      Shilpi Boosar wrote:

                      u r Right

                      May I please ask you to STOP using SMS language on the boards? Don't you have a keyboard with all the keys in it? :|

                      Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                      S Offline
                      S Offline
                      ShilpiP
                      wrote on last edited by
                      #13

                      Thanks For your suggestion Rajesh, but we are here to solve a issue not to solve writing scripts. and By the way please check your previous messages also prasad_som wrote: Do some study, and then come up with problems. I'll hold my breath and wait for her to come up with 'problems' for us to solve. BTW how are you doing? It's been a long time. [^]

                      Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

                      R 1 Reply Last reply
                      0
                      • CPalliniC CPallini

                        u r right but plz help coz urgent... :-D

                        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                        S Offline
                        S Offline
                        ShilpiP
                        wrote on last edited by
                        #14

                        :)

                        Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

                        1 Reply Last reply
                        0
                        • S ShilpiP

                          MFC42D.DLL MFCN42D.DLL MFCO42D.DLL MSVCRTD.DLL paste these dll on system32. It will solve your problem. :)

                          Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

                          K Offline
                          K Offline
                          krmed
                          wrote on last edited by
                          #15

                          The problem with this is that it is illegal to distribute the dlls you listed. Those are DEBUG builds, and per the Microsoft License Agreement, you may not re-distribute them. You must build a release build of your program, and then you are permitted to redistribute the release build of the dlls (using the vcredist as mentioned by others).

                          Karl - WK5M PP-ASEL-IA (N43CS) PGP Key: 0xDB02E193 PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

                          S 1 Reply Last reply
                          0
                          • S ShilpiP

                            Thanks For your suggestion Rajesh, but we are here to solve a issue not to solve writing scripts. and By the way please check your previous messages also prasad_som wrote: Do some study, and then come up with problems. I'll hold my breath and wait for her to come up with 'problems' for us to solve. BTW how are you doing? It's been a long time. [^]

                            Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

                            R Offline
                            R Offline
                            Rajesh R Subramanian
                            wrote on last edited by
                            #16

                            Using SMS lingo on a good public board like this is considered to be unprofessional, and I suggested you not to do it. I'm done.

                            Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                            1 Reply Last reply
                            0
                            • K krmed

                              The problem with this is that it is illegal to distribute the dlls you listed. Those are DEBUG builds, and per the Microsoft License Agreement, you may not re-distribute them. You must build a release build of your program, and then you are permitted to redistribute the release build of the dlls (using the vcredist as mentioned by others).

                              Karl - WK5M PP-ASEL-IA (N43CS) PGP Key: 0xDB02E193 PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

                              S Offline
                              S Offline
                              ShilpiP
                              wrote on last edited by
                              #17

                              Thanks for the satisfactory reply :)

                              Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

                              1 Reply Last reply
                              0
                              • G Gofur Halmurat

                                I use Visual Studio 2005, those dlls should be like these: MFC80D.DLL MFCN80D.DLL MFCO80D.DLL MSVCRTD.DLL But, still not clear, Why should use always copy the dlls into system, my program is like 0.4 mb, the dlls are about 10 mb For the simple project, why should i hold the dlls

                                It is never late to learn

                                O Offline
                                O Offline
                                Ozer Karaagac
                                wrote on last edited by
                                #18

                                You could build the project using MFC in a static library instead of moving debug dlls. But this might also generate huge executable.

                                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