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. msxml2.h, msxml2.idl and midl redefinitions!!!

msxml2.h, msxml2.idl and midl redefinitions!!!

Scheduled Pinned Locked Moved XML / XSL
helpc++csharpdebuggingxml
1 Posts 1 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.
  • C Offline
    C Offline
    CherezZaboro
    wrote on last edited by
    #1

    I have brand new ATL attributed dll project. I just downloaded and installed MSXML4 SP2. I insert "c:\program files\msxml 4.0\inc\msxml2.h" - which is the just iknstalled msxml sdk. Build and get 39 errors that say I have pretty much everything redefined. I know there is that known issue with XML_ERROR and I inserted the IMPORTED_MSXML macro but I still get everything else redefined. What's wrong?! Anyone?! Please help! Here is the whole dump: Deleting intermediate files and output files for project 'TryMSXML', configuration 'Debug|Win32'. Compiling... stdafx.cpp Compiling... TryMSXML.cpp Compiling resources... Linking... Creating library Debug/TryMSXML.lib and object Debug/TryMSXML.exp Microsoft (R) 32b/64b MIDL Compiler Version 6.00.0361 Copyright (c) Microsoft Corporation 1991-2002. All rights reserved. Processing .\_TryMSXML.idl _TryMSXML.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\prsht.idl prsht.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\wtypes.idl wtypes.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\basetsd.h basetsd.h Processing C:\MVS.NET\Vc7\PlatformSDK\include\guiddef.h guiddef.h Processing C:\MVS.NET\Vc7\PlatformSDK\include\mshtml.idl mshtml.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\ocidl.idl ocidl.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\oleidl.idl oleidl.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\objidl.idl objidl.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\unknwn.idl unknwn.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\oaidl.idl oaidl.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\servprov.idl servprov.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\urlmon.idl urlmon.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\msxml.idl msxml.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\dimm.idl dimm.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\mshtmhst.idl mshtmhst.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\docobj.idl docobj.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\exdisp.idl exdisp.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\objsafe.idl objsafe.idl Processing C:\MVS.NET\Vc7\PlatformSDK\include\msxml2.idl msxml2.idl C:\MVS.NET\Vc7\PlatformSDK\include\msxml2.idl(186) : error MIDL2003 : redefinition : NODE_INVALID C:\MVS.NET\Vc7\PlatformSDK\include\msxml2.idl(187) : error MIDL2003 : redefinition : NODE_ELEMENT C:\MVS.NET\Vc7\PlatformSDK\include\msxml2.idl(188) : err

    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