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. "Cannot open file mfc42u.lib"

"Cannot open file mfc42u.lib"

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpvisual-studiocomquestion
4 Posts 3 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.
  • P Offline
    P Offline
    Peter Jones
    wrote on last edited by
    #1

    I read about some clock synchronizing classes at http://www.codeproject.com/internet/csntp.asp and wanted to give them a try. When building, Visual Studio 6.0 gave an error 'LINK : fatal error LNK1104: cannot open file "mfc42u.lib"'. I then downloaded service pack 5 for Visual Studio 6.0 and tried again. The same error. I've scanned my Studio directory and sub-directories and that file is not on my drive. Has anyone else come across this problem? Peter

    M E 2 Replies Last reply
    0
    • P Peter Jones

      I read about some clock synchronizing classes at http://www.codeproject.com/internet/csntp.asp and wanted to give them a try. When building, Visual Studio 6.0 gave an error 'LINK : fatal error LNK1104: cannot open file "mfc42u.lib"'. I then downloaded service pack 5 for Visual Studio 6.0 and tried again. The same error. I've scanned my Studio directory and sub-directories and that file is not on my drive. Has anyone else come across this problem? Peter

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      The Unicode libraries aren't installed in a default installation of VC. Just grab the LIB out of the service pack EXE (there should be a command line switch to unpack it, or just use WinZip) and put it in your MFC\LIB directory. --Mike-- http://home.inreach.com/mdunn/ The Signature, back by popular demand: Buffy. Pajamas.

      P 1 Reply Last reply
      0
      • M Michael Dunn

        The Unicode libraries aren't installed in a default installation of VC. Just grab the LIB out of the service pack EXE (there should be a command line switch to unpack it, or just use WinZip) and put it in your MFC\LIB directory. --Mike-- http://home.inreach.com/mdunn/ The Signature, back by popular demand: Buffy. Pajamas.

        P Offline
        P Offline
        Peter Jones
        wrote on last edited by
        #3

        Thanks!

        1 Reply Last reply
        0
        • P Peter Jones

          I read about some clock synchronizing classes at http://www.codeproject.com/internet/csntp.asp and wanted to give them a try. When building, Visual Studio 6.0 gave an error 'LINK : fatal error LNK1104: cannot open file "mfc42u.lib"'. I then downloaded service pack 5 for Visual Studio 6.0 and tried again. The same error. I've scanned my Studio directory and sub-directories and that file is not on my drive. Has anyone else come across this problem? Peter

          E Offline
          E Offline
          Erik Thompson
          wrote on last edited by
          #4

          It is not installed by default. Rerun the Visual Studio install and opt to add/remove components. There's an option to install the unicode libraries and dlls that is available under one of the selections. Install them and try again. Cheers, -Erik ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ My thoughts are my own and reflect on no other.

          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