mfc40d.lib link error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eleven1982
    New Member
    • Aug 2009
    • 2

    #1

    mfc40d.lib link error

    I am in the process of converting a Visual C++ 6.0 project to Visual Studio
    2005. The conversion is almost complete, but in the linking phase, I get
    the error:

    LINK : fatal error LNK1104: cannot open file 'mfc42d.lib'
  • madankarmukta
    Contributor
    • Apr 2008
    • 308

    #2
    Originally posted by eleven1982
    I am in the process of converting a Visual C++ 6.0 project to Visual Studio
    2005. The conversion is almost complete, but in the linking phase, I get
    the error:

    LINK : fatal error LNK1104: cannot open file 'mfc42d.lib'
    Hi,

    Pls check whether the this 'mfc42d.dll' exists in the path where your VS is installed if it's not there.. I'll suggests you to reinstallthe VS.

    As per my experience is concerned , 'mfc42d.dll' comes by default with Visual Studio 6.

    Please let me know in case of any query.

    Thanks!

    Comment

    • eleven1982
      New Member
      • Aug 2009
      • 2

      #3
      Hi, madankarmukta
      Thank you for replying me the question. That your suggestion I have tried. I copy the mfc42d.lib to the path ,it can complier but run error.

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        It seems that the mfc42d.lib is used for debugging MFC applications. Seeing that you're moving it to a VB.NET application I don't know why you need to use this...

        I would find out what's referencing this library in your application and remove the reference.

        Comment

        Working...