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. mfc42u.lib ?

mfc42u.lib ?

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

    I've been downloading some projects from the site, the latest one being the grid control, and keep getting this error during linking of the project (in vc 6.0): Linking... LINK : fatal error LNK1104: cannot open file "mfc42u.lib" Error executing link.exe. I only have mfc42.lib. What do I have to do to fix this? Ed

    W G S 3 Replies Last reply
    0
    • S spiritualfields

      I've been downloading some projects from the site, the latest one being the grid control, and keep getting this error during linking of the project (in vc 6.0): Linking... LINK : fatal error LNK1104: cannot open file "mfc42u.lib" Error executing link.exe. I only have mfc42.lib. What do I have to do to fix this? Ed

      W Offline
      W Offline
      W Hammer sledge
      wrote on last edited by
      #2

      The u stands for unicode. You have to change the configuration of your project to win32release or win32debug. Another way to fix this will be installing the unicode versions of mfc. Hope this helps sledge

      1 Reply Last reply
      0
      • S spiritualfields

        I've been downloading some projects from the site, the latest one being the grid control, and keep getting this error during linking of the project (in vc 6.0): Linking... LINK : fatal error LNK1104: cannot open file "mfc42u.lib" Error executing link.exe. I only have mfc42.lib. What do I have to do to fix this? Ed

        G Offline
        G Offline
        Garth J Lancaster
        wrote on last edited by
        #3

        'Sledge' is correct, you can change the project settings to not use Unicode builds ... but if you HAVE to use Unicode, and have the Visual Studio Install/MSVC 6 install CDROM, run setup, select Customised install, you should then be able to select Unicode components (been a while since I had to do it, so those instructions are a bit rusty, but that's the general technique) 'G'

        1 Reply Last reply
        0
        • S spiritualfields

          I've been downloading some projects from the site, the latest one being the grid control, and keep getting this error during linking of the project (in vc 6.0): Linking... LINK : fatal error LNK1104: cannot open file "mfc42u.lib" Error executing link.exe. I only have mfc42.lib. What do I have to do to fix this? Ed

          S Offline
          S Offline
          speedo21shree
          wrote on last edited by
          #4

          Hi..I am also new in vc++, I faced this problem and I solve it... Follow the step: 1:Search(find) MFC42U.LIB file from the Installation CD 2:Copy the file 3:Paste into the VC\Lib files no issue..at all...

          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