none
msxml6.lib 64-bit version for building 64-bit app on 32-bit window RRS feed

  • Question

  • My app uses msxml6 and is built for 32-bit and 64-bit windows on Windows XP 32-bit using Visual Studio 2005 Professional. I am able to build the 32-bit version of my app successfully, but when I try to build the 64-bit version of my app I get link errors as I only have the 32-bit version msxml6.lib that is installed by the msxml6 SDK. Where do I get the 64-bit version of msxml6.lib?
    (seems like msxml6 SDK installed only the 32-bit version of msxml6.lib in C:\Program Files\MSXML 6.0\lib)

    Error 1 error LNK2001: unresolved external symbol CLSID_DOMDocument60
    Error 2 error LNK2001: unresolved external symbol IID_IXMLDOMDocument2
    Error 3 error LNK2001: unresolved external symbol CLSID_FreeThreadedDOMDocument60
    Error 4 error LNK2001: unresolved external symbol CLSID_XSLTemplate60
    Error 5 error LNK2001: unresolved external symbol IID_IXSLTemplate




    Thursday, August 6, 2009 6:20 PM

Answers

  • Thanks for the pointer. My machine does not have that folder. I have Visual Studio 2005 running on 32-bit Windows XP. After doing more research on the web, I was able to get the 64-bit version of msxml6.lib by downloading Microsoft® Windows® Software Development Kit Update for Windows Vista to my Windows 7 RC1 machine and then copying msxml.lib from C:\Program Files\Microsoft SDKs\Windows\v6.0\Lib\x64
    Now the 64-bit compiles and links with no errors.
    • Marked as answer by Farid Zidan Thursday, August 6, 2009 7:49 PM
    Thursday, August 6, 2009 7:49 PM

All replies

  • ...on my machine it is in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\x64
    Thursday, August 6, 2009 7:22 PM
  • Thanks for the pointer. My machine does not have that folder. I have Visual Studio 2005 running on 32-bit Windows XP. After doing more research on the web, I was able to get the 64-bit version of msxml6.lib by downloading Microsoft® Windows® Software Development Kit Update for Windows Vista to my Windows 7 RC1 machine and then copying msxml.lib from C:\Program Files\Microsoft SDKs\Windows\v6.0\Lib\x64
    Now the 64-bit compiles and links with no errors.
    • Marked as answer by Farid Zidan Thursday, August 6, 2009 7:49 PM
    Thursday, August 6, 2009 7:49 PM