CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2009
    Posts
    31

    [RESOLVED] Linker error 2001

    Code:
    1>Generating Code...
    1>Compiling manifest to resources...
    1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
    1>Copyright (C) Microsoft Corporation.  All rights reserved.
    1>Linking...
    1>Synonymsxll.def : error LNK2001: unresolved external symbol xlAddInManagerInfo
    1>C:\Projects\Synonymsxll\Debug\Synonymsxll.lib : fatal error LNK1120: 1 unresolved externals
    1>Build log was saved at "file://c:\Projects\Synonymsxll\Synonymsxll\Debug\BuildLog.htm"
    1>Synonymsxll - 2 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    my Synonymsxll.def :
    Code:
    LIBRARY Synonymsxll
    
    EXPORTS
           ; Standard XLL functions
           xlAutoOpen
           xlAddInManagerInfo
           xlAutoRemove
    
           ; UDFs
           enterIFSEntity
           grpIFSEntity
           retData
           descDataStore
    Export params
    Code:
    /OUT:"C:\Projects\Synonymsxll\Debug\Synonymsxll.xll" /INCREMENTAL /NOLOGO /DLL /MANIFEST /MANIFESTFILE:"Debug\Synonymsxll.xll.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEF:"c:\Projects\Synonymsxll\Synonymsxll\Synonymsxll.def" /DEBUG /ASSEMBLYDEBUG /PDB:"c:\Projects\Synonymsxll\Debug\Synonymsxll.pdb" /SUBSYSTEM:WINDOWS /DYNAMICBASE /FIXED:No /NXCOMPAT /MACHINE:X86 /ERRORREPORT:PROMPT xlcall32.lib frmwrk32.lib  kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

  2. #2
    Join Date
    Jun 2009
    Posts
    31

    Re: Linker error 2001

    nvm the function was miss spelled

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured