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. Remove dependency of MSVCP80 and MSVCR80

Remove dependency of MSVCP80 and MSVCR80

Scheduled Pinned Locked Moved C / C++ / MFC
questionannouncement
6 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.
  • D Offline
    D Offline
    Dominik Reichl
    wrote on last edited by
    #1

    Hello! When I compile the release version of my application, it depends on MSVCP80.DLL and MSVCR80.DLL. Unfortunately this prevents the application from being run on a computer, where these runtimes aren't installed. How can I remove these dependencies? Any way to statically link to MSVCP80.DLL and MSVCR80.DLL? I assume there is some linker switch that does this and I've overlooked it? Many thanks in advance and best regards Dominik


    and__asm mov al, 0xAD __asm out 0x64, al do the same... but what do they do?? ;) (doesn't work on NT)

    D M J 3 Replies Last reply
    0
    • D Dominik Reichl

      Hello! When I compile the release version of my application, it depends on MSVCP80.DLL and MSVCR80.DLL. Unfortunately this prevents the application from being run on a computer, where these runtimes aren't installed. How can I remove these dependencies? Any way to statically link to MSVCP80.DLL and MSVCR80.DLL? I assume there is some linker switch that does this and I've overlooked it? Many thanks in advance and best regards Dominik


      and__asm mov al, 0xAD __asm out 0x64, al do the same... but what do they do?? ;) (doesn't work on NT)

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Dominik Reichl wrote:

      Any way to statically link to MSVCP80.DLL and MSVCR80.DLL?

      Do you have the corresponding .lib files?


      "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

      "There is no death, only a change of worlds." - Native American Proverb

      D 1 Reply Last reply
      0
      • D David Crow

        Dominik Reichl wrote:

        Any way to statically link to MSVCP80.DLL and MSVCR80.DLL?

        Do you have the corresponding .lib files?


        "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

        "There is no death, only a change of worlds." - Native American Proverb

        D Offline
        D Offline
        Dominik Reichl
        wrote on last edited by
        #3

        I actually don't know. I got Microsoft Visual Studio 2005 Standard Edition. Best regards Dominik


        and __asm mov al, 0xAD __asm out 0x64, al do the same... but what do they do?? ;) (doesn't work on NT)

        1 Reply Last reply
        0
        • D Dominik Reichl

          Hello! When I compile the release version of my application, it depends on MSVCP80.DLL and MSVCR80.DLL. Unfortunately this prevents the application from being run on a computer, where these runtimes aren't installed. How can I remove these dependencies? Any way to statically link to MSVCP80.DLL and MSVCR80.DLL? I assume there is some linker switch that does this and I've overlooked it? Many thanks in advance and best regards Dominik


          and__asm mov al, 0xAD __asm out 0x64, al do the same... but what do they do?? ;) (doesn't work on NT)

          M Offline
          M Offline
          mbue
          wrote on last edited by
          #4

          Your denglish is unoverseebar. Try to reencode what they do! But dont be sad - it's easier to do that than understand M$-code.

          D 1 Reply Last reply
          0
          • M mbue

            Your denglish is unoverseebar. Try to reencode what they do! But dont be sad - it's easier to do that than understand M$-code.

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            mbue wrote:

            Your denglish is unoverseebar.

            :confused:


            "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

            "There is no death, only a change of worlds." - Native American Proverb

            1 Reply Last reply
            0
            • D Dominik Reichl

              Hello! When I compile the release version of my application, it depends on MSVCP80.DLL and MSVCR80.DLL. Unfortunately this prevents the application from being run on a computer, where these runtimes aren't installed. How can I remove these dependencies? Any way to statically link to MSVCP80.DLL and MSVCR80.DLL? I assume there is some linker switch that does this and I've overlooked it? Many thanks in advance and best regards Dominik


              and__asm mov al, 0xAD __asm out 0x64, al do the same... but what do they do?? ;) (doesn't work on NT)

              J Offline
              J Offline
              Joe Woodbury
              wrote on last edited by
              #6

              Go to the project settings. It should open in Configuration Properties|General. Next to "Use of MFC", make sure it says "Use MFC in a Static Library". (If not using MFC, don't worry, you still need to verify another place that applies even for all projects.) Select C/C++. Select "Code Generation". Make sure "Runtime Library" doesn't have DLL in it' change if needed. Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

              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