Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office

Troubleshooting Side-by-Side Installations

If you are having problems testing or developing your side-by-side installed applications under Windows XP, the following tips and best practices might help.

Obtaining Information about Dependent DLLs

When testing side-by-side installation of your component, you might want to determine additional information about the version and location of MSXML 5.0 loading with it. This task becomes more important if more than one version of MSXML 5.0 has been side-by-side installed under Windows XP and you are trying to troubleshoot problems where potentially the version you need is not the one loading with your component or application.

This section provides instructions for using a third-party utility, ListDLLs, to check the version of Msxml4.dll loaded. ListDLLs also works well for checking version information for other dependent DLLs you might use in your applications.

To use ListDLLs to obtain information about dependent DLLs

  1. Download the ListDLLs utility from the SysInternals.com Web site.
    Note   ListDLLs is currently a freeware utility made available by a third-party software vendor, SysInternals.com. As such, it is not a Microsoft product and is not supported by Microsoft. For more information about ListDLLs, contact SysInternals.com directly.
  2. Extract and install your copy of Listdlls.exe to the folder for testing where you previously created your other sample files (Dlltest.dll and Project1.exe).
  3. Run Project1.exe from the same test folder location.
  4. Open a command prompt window and change directories to the test folder location. Then enter the following command:
    C:\temp>listdlls project1.exe

    At this point, you should see output similar to the following. This indicates that Msxml4.dll has not been loaded by the sample application.

    ListDLLs V2.23 - DLL lister for Win9x/NT
    Copyright (C) 1997-2000 Mark Russinovich
    http://www.sysinternals.com
    ---------------------------------------------------------------------
    Project1.exe pid: 2808
    Command line: "C:\data\SxS-article\Project1.exe"
    
      Base        Size      Version         Path
      0x00400000  0x4000    1.00.0000.0000  C:\temp\Project1.exe
      0x77f50000  0xa9000   5.01.2600.0000  C:\WINDOWS\System32\ntdll.dll
      0x77e60000  0xe5000   5.01.2600.0000  C:\WINDOWS\system32\kernel32.dll
      0x73420000  0x153000  6.00.0092.0037  C:\WINDOWS\System32\MSVBVM60.DLL
      0x77d40000  0x8d000   5.01.2600.0000  C:\WINDOWS\system32\USER32.dll
      0x77c70000  0x40000   5.01.2600.0000  C:\WINDOWS\system32\GDI32.dll
      0x77dd0000  0x8b000   5.01.2600.0000  C:\WINDOWS\system32\ADVAPI32.dll
      0x77cc0000  0x75000   5.01.2600.0000  C:\WINDOWS\system32\RPCRT4.dll
      0x771b0000  0x11a000  5.01.2600.0000  C:\WINDOWS\system32\ole32.dll
      0x77120000  0x8b000   3.50.5014.0000  C:\WINDOWS\system32\OLEAUT32.dll
      0x77c10000  0x53000   7.00.2600.0000  C:\WINDOWS\system32\MSVCRT.DLL
      0x74720000  0x4b000   5.01.2600.0000  C:\WINDOWS\System32\MSCTF.dll
  5. Click Test DLL in the sample application.
  6. Repeat the command you entered in Step 4.

    You should now see lines similar to the following. This indicates that both Dlltest.dlll and Msxml4.dll are loaded:

      0x10000000  0x43000   1.00.0000.0001  C:\temp\DllTest.dll
      0x69b10000  0x139000  4.00.9004.0000  C:\WINDOWS\System32\msxml5.dll

Other Resources Other Resources