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. Re: nafxcw.lib - linker error

Re: nafxcw.lib - linker error

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorial
6 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.
  • M Offline
    M Offline
    mla154
    wrote on last edited by
    #1

    Hello, I'm receiving some linking errors while attempting to build my Visual C++ program. Here is an example of one such error: "nafxcw.lib(apphelp.obj) : error LNK2001: unresolved external symbol __mbctype". Any help is appreciated. Mike

    H 1 Reply Last reply
    0
    • M mla154

      Hello, I'm receiving some linking errors while attempting to build my Visual C++ program. Here is an example of one such error: "nafxcw.lib(apphelp.obj) : error LNK2001: unresolved external symbol __mbctype". Any help is appreciated. Mike

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      See Q166504 maybe its some helpful for you


      WhiteSky


      M 1 Reply Last reply
      0
      • H Hamid Taebi

        See Q166504 maybe its some helpful for you


        WhiteSky


        M Offline
        M Offline
        mla154
        wrote on last edited by
        #3

        After viewing http://support.microsoft.com/default.aspx?scid=kb;en-us;166504, I checked my project settings. In Project, Settings, General, Microsoft Foundation Classes: "Use MFC in a Static Library" Project, Settings, C/C++, Category, Code Generation, Use run-time library: "Multithreaded" Project, Settings, Link, Input, Ignore Libraries: "libcmt" Perhaps I'm missing something. Mike

        L H 2 Replies Last reply
        0
        • M mla154

          After viewing http://support.microsoft.com/default.aspx?scid=kb;en-us;166504, I checked my project settings. In Project, Settings, General, Microsoft Foundation Classes: "Use MFC in a Static Library" Project, Settings, C/C++, Category, Code Generation, Use run-time library: "Multithreaded" Project, Settings, Link, Input, Ignore Libraries: "libcmt" Perhaps I'm missing something. Mike

          L Offline
          L Offline
          Link2006
          wrote on last edited by
          #4

          mla154 wrote:

          Use run-time library: "Multithreaded"

          Try Multithreaded DLL, see if that solves the problem.

          M 1 Reply Last reply
          0
          • M mla154

            After viewing http://support.microsoft.com/default.aspx?scid=kb;en-us;166504, I checked my project settings. In Project, Settings, General, Microsoft Foundation Classes: "Use MFC in a Static Library" Project, Settings, C/C++, Category, Code Generation, Use run-time library: "Multithreaded" Project, Settings, Link, Input, Ignore Libraries: "libcmt" Perhaps I'm missing something. Mike

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            See here[^] I think its helpful for you:)


            WhiteSky


            1 Reply Last reply
            0
            • L Link2006

              mla154 wrote:

              Use run-time library: "Multithreaded"

              Try Multithreaded DLL, see if that solves the problem.

              M Offline
              M Offline
              mla154
              wrote on last edited by
              #6

              Multithreaded DLL gives me a different set of linker errors: --------------------Configuration: Icdm - Win32 Release Windows 95-------------------- Linking... nafxcw.lib(apphelp.obj) : error LNK2001: unresolved external symbol __mbctype nafxcw.lib(timecore.obj) : error LNK2001: unresolved external symbol __mbctype nafxcw.lib(dcprev.obj) : error LNK2001: unresolved external symbol __mbctype nafxcw.lib(filelist.obj) : error LNK2001: unresolved external symbol __mbctype nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc D:\code\Visual C++ Projects\!Work\ICDM - Mike L\HC-Release\Icdm.exe : fatal error LNK1120: 3 unresolved externals Error executing link.exe. Icdm.exe - 7 error(s), 0 warning(s)

              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