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. Linking C runtime

Linking C runtime

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

    Is there any way to use VS2003 or VS2005 for development and still link with VS6's C runtime libraries? thanks!

    S M 2 Replies Last reply
    0
    • C Chintoo723

      Is there any way to use VS2003 or VS2005 for development and still link with VS6's C runtime libraries? thanks!

      S Offline
      S Offline
      Saurabh Garg
      wrote on last edited by
      #2

      why do you want to link with vc6 runtime, is there any specific reason do it? -Saurabh

      C 1 Reply Last reply
      0
      • S Saurabh Garg

        why do you want to link with vc6 runtime, is there any specific reason do it? -Saurabh

        C Offline
        C Offline
        Chintoo723
        wrote on last edited by
        #3

        Saurabh.Garg wrote:

        why do you want to link with vc6 runtime, is there any specific reason do it?

        Oh yeah, so that I dont have to expect msvcrt7 dlls on the end user system. thanks!

        O 1 Reply Last reply
        0
        • C Chintoo723

          Is there any way to use VS2003 or VS2005 for development and still link with VS6's C runtime libraries? thanks!

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

          Well install both VC6 and VS2005, Create the project in VC6 and then try opening in VS2005 should work.


          C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg

          1 Reply Last reply
          0
          • C Chintoo723

            Saurabh.Garg wrote:

            why do you want to link with vc6 runtime, is there any specific reason do it?

            Oh yeah, so that I dont have to expect msvcrt7 dlls on the end user system. thanks!

            O Offline
            O Offline
            oshah
            wrote on last edited by
            #5

            The only way I'd expect this to work is if you disabled exceptions, disabled /GS support, used /NODEFAULTLIB, provided your own mainCRTStartup, and removed most use of the new CRTs. But if you've done all of this, you may as well static link, to remove all dependence on any CRT DLLs.

            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