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. Deployment question

Deployment question

Scheduled Pinned Locked Moved C / C++ / MFC
csharpquestionc++visual-studiosysadmin
4 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.
  • A Offline
    A Offline
    Anatari
    wrote on last edited by
    #1

    If I staticly link the MFC libraries, will a doc/view MFC application run on any Win32 system? It seems like Visual Studio.net comes with a new version of MFC. I read somewhere that some of the controls relies on IE 4, is there anything else I should be concerned about? If I don't staticly link the libraries, what versions of windows will still be able to run the application? Thanks! - Anatari

    P W 2 Replies Last reply
    0
    • A Anatari

      If I staticly link the MFC libraries, will a doc/view MFC application run on any Win32 system? It seems like Visual Studio.net comes with a new version of MFC. I read somewhere that some of the controls relies on IE 4, is there anything else I should be concerned about? If I don't staticly link the libraries, what versions of windows will still be able to run the application? Thanks! - Anatari

      P Offline
      P Offline
      Paul Oss
      wrote on last edited by
      #2

      With VC 6, I've been able to run a non-static(dynamic) linked mfc app on every platform from win95 up through xp. However, there have been cases (not all) on certain NT4.0 installations that I got some kind of 'ordinal' error. After scratching my head for a few minutes, I realized that the MFC42.DLL on the NT 4.0 box was probably out of date. Copying a new one manually to the box fixed the problem. This, I believe, was also fixed by doing a later service pack. Static linking will guarantee functionality. HOpe this helps. Paul Oss

      1 Reply Last reply
      0
      • A Anatari

        If I staticly link the MFC libraries, will a doc/view MFC application run on any Win32 system? It seems like Visual Studio.net comes with a new version of MFC. I read somewhere that some of the controls relies on IE 4, is there anything else I should be concerned about? If I don't staticly link the libraries, what versions of windows will still be able to run the application? Thanks! - Anatari

        W Offline
        W Offline
        Wolfram Steinke
        wrote on last edited by
        #3

        The only problem I have struck is if I was forgetful enough to try to run a Debug build on a 'virgin' machine. Then it will natually report an error that MFC42D.dll can not be found. Windows ships with the latest release versions of MFC, both the MFC42 with is for VC6 and MFC7 which is used with .NET. Happy programming!!

        G 1 Reply Last reply
        0
        • W Wolfram Steinke

          The only problem I have struck is if I was forgetful enough to try to run a Debug build on a 'virgin' machine. Then it will natually report an error that MFC42D.dll can not be found. Windows ships with the latest release versions of MFC, both the MFC42 with is for VC6 and MFC7 which is used with .NET. Happy programming!!

          G Offline
          G Offline
          Gary R Wheeler
          wrote on last edited by
          #4

          None of the distributions of Windows 2000 or XP I've seen in recent months, including the ones that come with the MSDN Universal, or any of the service packs (Win2000SP3 or WinXPSP1), include the MFC7 libraries. If you build an MFC app with VS.NET, you've got to install the libraries on the target machine.


          Software Zen: delete this;

          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