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. MSVCRT...

MSVCRT...

Scheduled Pinned Locked Moved C / C++ / MFC
c++comquestion
3 Posts 2 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hey all! I compiled an ATL ActiveX Control DLL using Visual C++ 7 - and noticed that the DLL depends on MSVCRT70.DLL... I have several questions: 1. Can I somehow remove this dependency? 2. What's in that DLL anyway? 3. Suppose I will compile the code with Visual C++ 6 - it will depend on MSVCRT.DLL, right? 4. Is it possible to remove THAT dependency? 5. Is there any software that comes with MSVCRT.DLL EXCEPT for Visual C++? (Internet Explorer, or Office, or something common like that?) 6. Suppose I want to distribute that file along with my ActiveX Control (for download on a web page) - will it work from the control DLL's directory? Need I put it in the user's Windows\System directory? Need I do anything else? Is it legal to distribute this DLL just like that? Thanks a lot! :)

    W 1 Reply Last reply
    0
    • L Lost User

      Hey all! I compiled an ATL ActiveX Control DLL using Visual C++ 7 - and noticed that the DLL depends on MSVCRT70.DLL... I have several questions: 1. Can I somehow remove this dependency? 2. What's in that DLL anyway? 3. Suppose I will compile the code with Visual C++ 6 - it will depend on MSVCRT.DLL, right? 4. Is it possible to remove THAT dependency? 5. Is there any software that comes with MSVCRT.DLL EXCEPT for Visual C++? (Internet Explorer, or Office, or something common like that?) 6. Suppose I want to distribute that file along with my ActiveX Control (for download on a web page) - will it work from the control DLL's directory? Need I put it in the user's Windows\System directory? Need I do anything else? Is it legal to distribute this DLL just like that? Thanks a lot! :)

      W Offline
      W Offline
      Walter Sullivan
      wrote on last edited by
      #2

      In VS.NET (VC 7), right click on your project in the Solution Explorer and choose properties. The General tab has an option fo "Minimize CRT Use in ATL", switch this to Yes and you should statically link to the CRT's. If you build it with V6, if you use the min_dep project configuration you will statically link to the CRT's and no longer require that DLL. You can distribute that DLL with your ActiveX Control and put it in the same directory as your control and that should work. Later, Walter Sullivan Lead Program Manager, MFC/ATL

      L 1 Reply Last reply
      0
      • W Walter Sullivan

        In VS.NET (VC 7), right click on your project in the Solution Explorer and choose properties. The General tab has an option fo "Minimize CRT Use in ATL", switch this to Yes and you should statically link to the CRT's. If you build it with V6, if you use the min_dep project configuration you will statically link to the CRT's and no longer require that DLL. You can distribute that DLL with your ActiveX Control and put it in the same directory as your control and that should work. Later, Walter Sullivan Lead Program Manager, MFC/ATL

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

        Thank you very much :)

        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