How to build source with XML componet in DDK source?
-
Hello. I want to build a sample source in Windows 2003 Server Sp1 DDK with XML component. - sample source : WINDDK\3790.1830\src\print\oemdll\oemui I installed msxml 4.0 sp1 SDK and added the following lines to precomp.h in the sample source. #import "msxml4.dll" #include using namespace MSXML2; And then, Opened the build windows to build it.The result is OK. But, I declared the XML variable like following and builded the source. IXMLDOMDocument2Ptr pXMLDoc = NULL; The result was failed like following. The build of each file was right, but finally the linking was failed. 1>oemui.obj : error LNK2019: unresolved external symbol "void __stdcall _com_iss ue_error(long)" (?_com_issue_error@@YGXJ@Z) referenced in function "public: __th iscall _com_ptr_t >::_com_ptr_t >(int)" (??0?$_com_ptr_t@V?$_com_IIID@UIXMLDOMDocument2@MS XML2@@$1?_GUID_2933bf95_7b36_11d2_b20e_00c04f983e60@@3U__s_GUID@@B@@@@QAE@H@Z) 1>c:\WINDDK\3790.1830\src\print\oemdll\oemui\oemui.dll : error LNK1120: 1 unresolved externals BUILD: Done Plz. Let me know how to build a source with XML variable in Windows DDK.
-
Hello. I want to build a sample source in Windows 2003 Server Sp1 DDK with XML component. - sample source : WINDDK\3790.1830\src\print\oemdll\oemui I installed msxml 4.0 sp1 SDK and added the following lines to precomp.h in the sample source. #import "msxml4.dll" #include using namespace MSXML2; And then, Opened the build windows to build it.The result is OK. But, I declared the XML variable like following and builded the source. IXMLDOMDocument2Ptr pXMLDoc = NULL; The result was failed like following. The build of each file was right, but finally the linking was failed. 1>oemui.obj : error LNK2019: unresolved external symbol "void __stdcall _com_iss ue_error(long)" (?_com_issue_error@@YGXJ@Z) referenced in function "public: __th iscall _com_ptr_t >::_com_ptr_t >(int)" (??0?$_com_ptr_t@V?$_com_IIID@UIXMLDOMDocument2@MS XML2@@$1?_GUID_2933bf95_7b36_11d2_b20e_00c04f983e60@@3U__s_GUID@@B@@@@QAE@H@Z) 1>c:\WINDDK\3790.1830\src\print\oemdll\oemui\oemui.dll : error LNK1120: 1 unresolved externals BUILD: Done Plz. Let me know how to build a source with XML variable in Windows DDK.
Looks like you are using C++. This link may help: http://msdn2.microsoft.com/en-us/library/ms757060.aspx[^]
"We make a living by what we get, we make a life by what we give." --Winston Churchill