none
error LNK2001, error LNK2019

    Question

  • Hi All,

      I am migrating VC6.0 code to VS2005. I am getting below Errors and not able to resolve. i have tried all possible ways, which is available in net.

    Any help will be appreciated:

    Errors list:

    error LNK2001: unresolved external symbol _CxxFrameHandler3
    error LNK2001: unresolved external symbol __alloca_probe_16
    error LNK2001: unresolved external symbol __imp___resetstkoflw
    error LNK2001: unresolved external symbol imp___CrtDbgReportW
    error LNK2001: unresolved external symbol __imp__wcscpy_s
    error LNK2001: unresolved external symbol __imp___recalloc
    error LNK2001: unresolved external symbol __imp___wassert
    error LNK2001: unresolved external symbol __CrtDbgReport
    error LNK2001: unresolved external symbol ___security_cookie
    error LNK2019: unresolved external symbol __vsnprintf_s
    error LNK2019: unresolved external symbol _strcpy_s
    error LNK2019: unresolved external symbol _memmove_s

    With Warm Regards

    Dumb Developer

    Tuesday, July 13, 2010 4:45 AM

Answers

  • Dumb Developer wrote:
    >
    >I am migrating VC6.0 code to VS2005. I am getting below Errors and not able
    >to resolve. i have tried all possible ways, which is available in net.
    >
    >Any help will be appreciated:
     
    You need to add msvcrtd.lib to the library list. If you are compiling
    straight to an executable, use the /MDd parameter.
    --
    Tim Roberts, timr@probo.com
    Providenza & Boekelheide, Inc.
     

    Tim Roberts, DDK MVP
    Thursday, July 15, 2010 4:21 AM

All replies

  • Hi

    Welcome to MSDN forums!

    I guess you directly copy your codes from VC6.0 to VS2005. Maybe you can try to VS2005 migration guide?

     

    Regards!

    Skywalker


    NEU_ShieldEdge
    Wednesday, July 14, 2010 8:20 AM
  • Dumb Developer wrote:
    >
    >I am migrating VC6.0 code to VS2005. I am getting below Errors and not able
    >to resolve. i have tried all possible ways, which is available in net.
    >
    >Any help will be appreciated:
     
    You need to add msvcrtd.lib to the library list. If you are compiling
    straight to an executable, use the /MDd parameter.
    --
    Tim Roberts, timr@probo.com
    Providenza & Boekelheide, Inc.
     

    Tim Roberts, DDK MVP
    Thursday, July 15, 2010 4:21 AM