#include "stdafx.h" #include <stdio.h> #include <windows.h> #include <objbase.h> #include <msxml6.h> int _tmain(int argc, _TCHAR* argv[]) { CoInitialize(NULL); printf("start using MSXML6\n"); //Add your code here CoUninitialize(); return 0; }
c:\users\rb\documents\visual studio 2005\projects\xml1\xml1\xml1.cpp(8) : fatal error C1083: Cannot open include file: 'msxml6.h': No such file or directory
#include "stdafx.h" #include <stdio.h> #include <windows.h> #include <objbase.h> #include <msxml.h> int _tmain(int argc, _TCHAR* argv[]) { CoInitialize(NULL); printf("start using MSXML6\n"); //Add your code here CoUninitialize(); return 0; }
LINK : fatal error LNK1104: cannot open file 'msxml6.lib'
I have Win 7 Professional 64 bit and Visual Studio 2005 Professional ( VC++)