The SDK uses CStrings for strings in the MFC configuration. In the Win32 build, MFC obviously isn't there, so instead I manually included the ATL CString by including atlstr.h, which provides a CString implementation.
You could try the MFC DLL configuration, for which there is also a VS 2005 .sln file. Important that one in to VS 2008 might give you better luck.