3,245
社区成员
发帖
与我相关
我的任务
分享
error C2146: syntax error : missing ';' before identifier 'IXmlReader'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2146: syntax error : missing ';' before identifier 'IXmlReader'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2086: 'int IXmlReader' : redefinition
.h(49) : see declaration of 'IXmlReader'
error C2146: syntax error : missing ';' before identifier 'IXmlResolver'
warning C4091: '' : ignored on left of 'interface' when no variable is declared
error C2146: syntax error : missing ';' before identifier 'IXmlWriter'
warning C4091: '' : ignored on left of 'interface' when no variable is declared
error C2371: 'IXmlResolver' : redefinition; different basic types
.h(55) : see declaration of 'IXmlResolver'
: error C2371: 'IXmlWriter' : redefinition; different basic types
.h(61) : see declaration of 'IXmlWriter'
error C2061: syntax error : identifier 'IXmlReader'
error C2061: syntax error : identifier 'IXmlReader'
: error C2061: syntax error : identifier 'IXmlReader'
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0499 */
/* Compiler settings for xmllite.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING( )
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
/* verify that the <rpcsal.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCSAL_H_VERSION__
#define __REQUIRED_RPCSAL_H_VERSION__ 100
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__
#ifndef __xmllite_h__
#define __xmllite_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IXmlReader_FWD_DEFINED__
#define __IXmlReader_FWD_DEFINED__
typedef interface IXmlReader IXmlReader;
#endif /* __IXmlReader_FWD_DEFINED__ */
#ifndef __IXmlResolver_FWD_DEFINED__
#define __IXmlResolver_FWD_DEFINED__
typedef interface IXmlResolver IXmlResolver;
#endif /* __IXmlResolver_FWD_DEFINED__ */
#ifndef __IXmlWriter_FWD_DEFINED__
#define __IXmlWriter_FWD_DEFINED__
typedef interface IXmlWriter IXmlWriter;
#endif /* __IXmlWriter_FWD_DEFINED__ */
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7279FC81-709D-4095-B63D-69FE4B0D9030")
IXmlReader : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE SetInput(
/* */
__in_opt IUnknown *pInput) = 0;
virtual HRESULT STDMETHODCALLTYPE GetProperty(
/* */
__in UINT nProperty,
/* */
__out LONG_PTR *ppValue) = 0;
virtual HRESULT STDMETHODCALLTYPE SetProperty(
/* */
__in UINT nProperty,
/* */
__in_opt LONG_PTR pValue) = 0;
virtual HRESULT STDMETHODCALLTYPE Read(
/* */
__out_opt XmlNodeType *pNodeType) = 0;
virtual HRESULT STDMETHODCALLTYPE GetNodeType(
/* */
__out XmlNodeType *pNodeType) = 0;