The CMarkup test MFC project should compile in Visual Studio 6.0 and newer versions without any problems. However, sometimes issues come up. It has been tested on Visual Studio 2003 and 2005 but there are different beta versions and options possible leading to minor differences.
See the following topics for additional information on compiling specific to STL and MSXML versions:
Under default project configuration, the CMarkup test project compiles under my copy of VS.NET 2003.
CStringData is a non-public implementation detail of the MFC
CString class used to determine the allocated memory available in the
CString object. But this developer answered his own question the next day: "afxdtctl.h needs to be included in stdafx.h".
CMarkup methods will expect
const wchar_t * instead of
const char *, i.e. wide strings are expected. Without
UNICODE, the preferred choice is to use UTF-8 strings which are the same as ASCII strings for characters in the ASCII range. An alternative to
_T() for specifying a wide string is
L"HL7Message" which might be more portable to non Visual Studio compilers.