Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. How to build source with XML componet in DDK source?

How to build source with XML componet in DDK source?

Scheduled Pinned Locked Moved XML / XSL
sysadminxmlhelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wanylee
    wrote on last edited by
    #1

    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.

    G 1 Reply Last reply
    0
    • W wanylee

      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.

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups