Due to only just finding out how many versions of the XML parser there are out there (see http://msdn.microsoft.com/xml/general/replacemode.asp for details of this), I've downloaded and integrated the latest SDK and parser made available by Microsoft -- http://msdn.microsoft.com/xml/general/msxmlprev.asp
After adding "C:\Program Files\Microsoft Xml Parser Sdk\Inc" to my project source directories and "C:\Program Files\Microsoft Xml Parser Sdk\Lib" to the corresponding library section, the only change necessary to make the code compile/link/run on my system was to change the header file of XmlParserDlg.h from:
#include "msxml.h"
to
#include "msxml2.h"
For completness, my system configuration is:
Windows NT4.0 (Sp6) / Windows 2000 (Sp1)
Visual C++ ver 6 (Sp4)
Platform SDK (July 2000)
Internet Explorer 5.5
*new today* Microsoft XML Parser 3/SDK (September 2000).
I get some more compiler errors as follows even after including msxml2.h in the stdafx.h.
--------------------Configuration: xmlparser - Win32 Debug--------------------
Compiling...
XmlParserDlg.cpp
e:\xml\xmlparser\xmlparserdlg.cpp(96) : error C2065: 'CLSID_DOMDocument2' : undeclared identifier
e:\xml\xmlparser\xmlparserdlg.cpp(96) : error C2065: 'IID_IXMLDOMDocument' : undeclared identifier
e:\xml\xmlparser\xmlparserdlg.cpp(101) : error C2027: use of undefined type 'IXMLDOMDocument'
c:\program files\microsoft xml parser sdk\inc\msxml2.h(56) : see declaration of 'IXMLDOMDocument'
e:\xml\xmlparser\xmlparserdlg.cpp(101) : error C2227: left of '->put_async' must point to class/struct/union
e:\xml\xmlparser\xmlparserdlg.cpp(105) : error C2027: use of undefined type 'IXMLDOMDocument'
c:\program files\microsoft xml parser sdk\inc\msxml2.h(56) : see declaration of 'IXMLDOMDocument'
e:\xml\xmlparser\xmlparserdlg.cpp(105) : error C2227: left of '->load' must point to class/struct/union
e:\xml\xmlparser\xmlparserdlg.cpp(110) : error C2027: use of undefined type 'IXMLDOMDocument'