|
Razor
(Gast)
n/a Beiträge |
#11
Would somebody please explain why the compiler holds at the comented line.PLEASE? This is getting hilarious like a mouse cat game
Delphi-Quellcode:
Here is the library.
var
Form1: TForm1; i:IWinSATInitiateEvents; k:_RemotableHandle; q:CoCInitiateWinSAT ; v:integer; itotal,icurrent:LongWord; sa:string; implementation {$R *.dfm} procedure TForm1.FormCreate(Sender: TObject); begin CInitiateWinSAT1.Create(self); CInitiateWinSAT1.DefaultInterface.InitiateFormalAssessment( i,k) ; i.WinSATUpdate(icurrent,itotal,pchar(sa)) ; // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end;
Delphi-Quellcode:
unit WINSATLib_TLB;
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers. {$WARN SYMBOL_PLATFORM OFF} {$WRITEABLECONST ON} {$VARPROPSETTER ON} {$ALIGN 4} interface uses Windows, ActiveX, Classes, Graphics, OleServer, StdVCL, Variants; // *********************************************************************// // GUIDS declared in the TypeLibrary. Following prefixes are used: // Type Libraries : LIBID_xxxx // CoClasses : CLASS_xxxx // DISPInterfaces : DIID_xxxx // Non-DISP interfaces: IID_xxxx // *********************************************************************// const // TypeLibrary Major and minor versions WINSATLibMajorVersion = 1; WINSATLibMinorVersion = 0; LIBID_WINSATLib: TGUID = '{15AE3A36-E53B-454D-A816-A7C61CBAB8A4}'; IID_IInitiateWinSATAssessment: TGUID = '{D983FC50-F5BF-49D5-B5ED-CCCB18AA7FC1}'; CLASS_CInitiateWinSAT: TGUID = '{489331DC-F5E0-4528-9FDA-45331BF4A571}'; IID_IWinSATInitiateEvents: TGUID = '{262A1918-BA0D-41D5-92C2-FAB4633EE74F}'; IID_IQueryRecentWinSATAssessment: TGUID = '{F8AD5D1F-3B47-4BDC-9375-7C6B1DA4ECA7}'; CLASS_CQueryWinSAT: TGUID = '{F3BDFAD3-F276-49E9-9B17-C474F48F0764}'; IID_IXMLDOMNodeList: TGUID = '{2933BF82-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMNode: TGUID = '{2933BF80-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMNamedNodeMap: TGUID = '{2933BF83-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMDocument: TGUID = '{2933BF81-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMDocumentType: TGUID = '{2933BF8B-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMImplementation: TGUID = '{2933BF8F-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMElement: TGUID = '{2933BF86-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMAttribute: TGUID = '{2933BF85-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMDocumentFragment: TGUID = '{3EFAA413-272F-11D2-836F-0000F87A7782}'; IID_IXMLDOMCharacterData: TGUID = '{2933BF84-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMText: TGUID = '{2933BF87-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMComment: TGUID = '{2933BF88-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMCDATASection: TGUID = '{2933BF8A-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMProcessingInstruction: TGUID = '{2933BF89-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMEntityReference: TGUID = '{2933BF8E-7B36-11D2-B20E-00C04F983E60}'; IID_IXMLDOMParseError: TGUID = '{3EFAA426-272F-11D2-836F-0000F87A7782}'; IID_IProvideWinSATResultsInfo: TGUID = '{F8334D5D-568E-4075-875F-9DF341506640}'; IID_IProvideWinSATAssessmentInfo: TGUID = '{0CD1C380-52D3-4678-AC6F-E929E480BE9E}'; IID_IQueryAllWinSATAssessments: TGUID = '{0B89ED1D-6398-4FEA-87FC-567D8D19176F}'; CLASS_CQueryAllWinSAT: TGUID = '{05DF8D13-C355-47F4-A11E-851B338CEFB8}'; IID_IProvideWinSATVisuals: TGUID = '{A9F4ADE0-871A-42A3-B813-3078D25162C9}'; CLASS_CProvideWinSATVisuals: TGUID = '{9F377D7E-E551-44F8-9F94-9DB392B03B7B}'; IID_IAccessible: TGUID = '{618736E0-3C3D-11CF-810C-00AA00389B71}'; IID_IAccessibleWinSAT: TGUID = '{30E6018A-94A8-4FF8-A69A-71B67413F07B}'; CLASS_CAccessiblityWinSAT: TGUID = '{6E18F9C6-A3EB-495A-89B7-956482E19F7A}'; IID_IQueryOEMWinSATCustomization: TGUID = '{BC9A6A9F-AD4E-420E-9953-B34671E9DF22}'; CLASS_CQueryOEMWinSATCustomization: TGUID = '{C47A41B7-B729-424F-9AF9-5CB3934F2DFA}'; // *********************************************************************// // Declaration of Enumerations defined in Type Library // *********************************************************************// // Constants for enum tagDOMNodeType type tagDOMNodeType = TOleEnum; const NODE_INVALID = $00000000; NODE_ELEMENT = $00000001; NODE_ATTRIBUTE = $00000002; NODE_TEXT = $00000003; NODE_CDATA_SECTION = $00000004; NODE_ENTITY_REFERENCE = $00000005; NODE_ENTITY = $00000006; NODE_PROCESSING_INSTRUCTION = $00000007; NODE_COMMENT = $00000008; NODE_DOCUMENT = $00000009; NODE_DOCUMENT_TYPE = $0000000A; NODE_DOCUMENT_FRAGMENT = $0000000B; NODE_NOTATION = $0000000C; // Constants for enum __MIDL___MIDL_itf_winsatcominterfacei_0000_0000_0003 type __MIDL___MIDL_itf_winsatcominterfacei_0000_0000_0003 = TOleEnum; const WINSAT_ASSESSMENT_MEMORY = $00000000; WINSAT_ASSESSMENT_CPU = $00000001; WINSAT_ASSESSMENT_DISK = $00000002; WINSAT_ASSESSMENT_D3D = $00000003; WINSAT_ASSESSMENT_GRAPHICS = $00000004; // Constants for enum __MIDL___MIDL_itf_winsatcominterfacei_0000_0000_0002 type __MIDL___MIDL_itf_winsatcominterfacei_0000_0000_0002 = TOleEnum; const WINSAT_ASSESSMENT_STATE_MIN = $00000000; WINSAT_ASSESSMENT_STATE_UNKNOWN = $00000000; WINSAT_ASSESSMENT_STATE_VALID = $00000001; WINSAT_ASSESSMENT_STATE_INCOHERENT_WITH_HARDWARE = $00000002; WINSAT_ASSESSMENT_STATE_NOT_AVAILABLE = $00000003; WINSAT_ASSESSMENT_STATE_INVALID = $00000004; WINSAT_ASSESSMENT_STATE_MAX = $00000004; // Constants for enum __MIDL___MIDL_itf_winsatcominterfacei_0000_0000_0004 type __MIDL___MIDL_itf_winsatcominterfacei_0000_0000_0004 = TOleEnum; const WINSAT_BITMAP_SIZE_SMALL = $00000000; WINSAT_BITMAP_SIZE_NORMAL = $00000001; // Constants for enum __MIDL___MIDL_itf_winsatcominterfacei_0000_0000_0001 type __MIDL___MIDL_itf_winsatcominterfacei_0000_0000_0001 = TOleEnum; const WINSAT_OEM_DATA_VALID = $00000000; WINSAT_OEM_DATA_NON_SYS_CONFIG_MATCH = $00000001; WINSAT_OEM_DATA_INVALID = $00000002; WINSAT_OEM_NO_DATA_SUPPLIED = $00000003; type // *********************************************************************// // Forward declaration of types defined in TypeLibrary // *********************************************************************// IInitiateWinSATAssessment = interface; IWinSATInitiateEvents = interface; IQueryRecentWinSATAssessment = interface; IQueryRecentWinSATAssessmentDisp = dispinterface; IXMLDOMNodeList = interface; IXMLDOMNodeListDisp = dispinterface; IXMLDOMNode = interface; IXMLDOMNodeDisp = dispinterface; IXMLDOMNamedNodeMap = interface; IXMLDOMNamedNodeMapDisp = dispinterface; IXMLDOMDocument = interface; IXMLDOMDocumentDisp = dispinterface; IXMLDOMDocumentType = interface; IXMLDOMDocumentTypeDisp = dispinterface; IXMLDOMImplementation = interface; IXMLDOMImplementationDisp = dispinterface; IXMLDOMElement = interface; IXMLDOMElementDisp = dispinterface; IXMLDOMAttribute = interface; IXMLDOMAttributeDisp = dispinterface; IXMLDOMDocumentFragment = interface; IXMLDOMDocumentFragmentDisp = dispinterface; IXMLDOMCharacterData = interface; IXMLDOMCharacterDataDisp = dispinterface; IXMLDOMText = interface; IXMLDOMTextDisp = dispinterface; IXMLDOMComment = interface; IXMLDOMCommentDisp = dispinterface; IXMLDOMCDATASection = interface; IXMLDOMCDATASectionDisp = dispinterface; IXMLDOMProcessingInstruction = interface; IXMLDOMProcessingInstructionDisp = dispinterface; IXMLDOMEntityReference = interface; IXMLDOMEntityReferenceDisp = dispinterface; IXMLDOMParseError = interface; IXMLDOMParseErrorDisp = dispinterface; IProvideWinSATResultsInfo = interface; IProvideWinSATResultsInfoDisp = dispinterface; IProvideWinSATAssessmentInfo = interface; IProvideWinSATAssessmentInfoDisp = dispinterface; IQueryAllWinSATAssessments = interface; IQueryAllWinSATAssessmentsDisp = dispinterface; IProvideWinSATVisuals = interface; IAccessible = interface; IAccessibleDisp = dispinterface; IAccessibleWinSAT = interface; IQueryOEMWinSATCustomization = interface; // *********************************************************************// // Declaration of CoClasses defined in Type Library // (NOTE: Here we map each CoClass to its Default Interface) // *********************************************************************// CInitiateWinSAT = IInitiateWinSATAssessment; CQueryWinSAT = IQueryRecentWinSATAssessment; CQueryAllWinSAT = IQueryAllWinSATAssessments; CProvideWinSATVisuals = IProvideWinSATVisuals; CAccessiblityWinSAT = IAccessibleWinSAT; CQueryOEMWinSATCustomization = IQueryOEMWinSATCustomization; // *********************************************************************// // Declaration of structures, unions and aliases. // *********************************************************************// wireHWND = ^_RemotableHandle; wireHBITMAP = ^_userHBITMAP; PPUserType1 = ^IXMLDOMNodeList; {*} PPUserType2 = ^IXMLDOMNamedNodeMap; {*} PPUserType3 = ^IXMLDOMDocument; {*} PPUserType4 = ^IXMLDOMDocumentType; {*} PPUserType5 = ^IXMLDOMImplementation; {*} PPUserType6 = ^IXMLDOMElement; {*} PPUserType7 = ^IXMLDOMDocumentFragment; {*} PPUserType8 = ^IXMLDOMText; {*} PPUserType9 = ^IXMLDOMComment; {*} PPUserType10 = ^IXMLDOMCDATASection; {*} PPUserType11 = ^IXMLDOMProcessingInstruction; {*} PPUserType12 = ^IXMLDOMAttribute; {*} PPUserType13 = ^IXMLDOMEntityReference; {*} PPUserType14 = ^IXMLDOMParseError; {*} __MIDL_IWinTypes_0009 = record case Integer of 0: (hInproc: Integer); 1: (hRemote: Integer); end; _RemotableHandle = record fContext: Integer; u: __MIDL_IWinTypes_0009; end; DOMNodeType = tagDOMNodeType; WINSAT_ASSESSMENT_TYPE = __MIDL___MIDL_itf_winsatcominterfacei_0000_0000_0003; WINSAT_ASSESSMENT_STATE = __MIDL___MIDL_itf_winsatcominterfacei_0000_0000_0002; WINSAT_BITMAP_SIZE = __MIDL___MIDL_itf_winsatcominterfacei_0000_0000_0004; _userBITMAP = record bmType: Integer; bmWidth: Integer; bmHeight: Integer; bmWidthBytes: Integer; bmPlanes: Word; bmBitsPixel: Word; cbSize: LongWord; pBuffer: ^Byte; end; {$ALIGN 8} __MIDL_IWinTypes_0007 = record case Integer of 0: (hInproc: Integer); 1: (hRemote: ^_userBITMAP); 2: (hInproc64: Int64); end; {$ALIGN 4} {$ALIGN 8} _userHBITMAP = record fContext: Integer; u: __MIDL_IWinTypes_0007; end; WINSAT_OEM_CUSTOMIZATION_STATE = __MIDL___MIDL_itf_winsatcominterfacei_0000_0000_0001; // *********************************************************************// // Interface: IInitiateWinSATAssessment // Flags: (0) // GUID: {D983FC50-F5BF-49D5-B5ED-CCCB18AA7FC1} // *********************************************************************// IInitiateWinSATAssessment = interface(IUnknown) ['{D983FC50-F5BF-49D5-B5ED-CCCB18AA7FC1}'] function InitiateAssessment(cmdLine: PWideChar; const pCallbacks: IWinSATInitiateEvents; var callerHwnd: _RemotableHandle): HResult; stdcall; function InitiateFormalAssessment(const pCallbacks: IWinSATInitiateEvents; var callerHwnd: _RemotableHandle): HResult; stdcall; function CancelAssessment: HResult; stdcall; end; // *********************************************************************// // Interface: IWinSATInitiateEvents // Flags: (0) // GUID: {262A1918-BA0D-41D5-92C2-FAB4633EE74F} // *********************************************************************// IWinSATInitiateEvents = interface(IUnknown) ['{262A1918-BA0D-41D5-92C2-FAB4633EE74F}'] function WinSATComplete(hresult: HResult; strDescription: PWideChar): HResult; stdcall; function WinSATUpdate(uCurrentTick: SYSUINT; uTickTotal: SYSUINT; strCurrentState: PWideChar): HResult; stdcall; end; // *********************************************************************// // Interface: IQueryRecentWinSATAssessment // Flags: (4416) Dual OleAutomation Dispatchable // GUID: {F8AD5D1F-3B47-4BDC-9375-7C6B1DA4ECA7} // *********************************************************************// IQueryRecentWinSATAssessment = interface(IDispatch) ['{F8AD5D1F-3B47-4BDC-9375-7C6B1DA4ECA7}'] function Get_xml(const xPath: WideString; const namespaces: WideString): IXMLDOMNodeList; safecall; function Get_Info: IProvideWinSATResultsInfo; safecall; property xml[const xPath: WideString; const namespaces: WideString]: IXMLDOMNodeList read Get_xml; property Info: IProvideWinSATResultsInfo read Get_Info; end; // *********************************************************************// // DispIntf: IQueryRecentWinSATAssessmentDisp // Flags: (4416) Dual OleAutomation Dispatchable // GUID: {F8AD5D1F-3B47-4BDC-9375-7C6B1DA4ECA7} // *********************************************************************// IQueryRecentWinSATAssessmentDisp = dispinterface ['{F8AD5D1F-3B47-4BDC-9375-7C6B1DA4ECA7}'] property xml[const xPath: WideString; const namespaces: WideString]: IXMLDOMNodeList readonly dispid 1; property Info: IProvideWinSATResultsInfo readonly dispid 2; end; // *********************************************************************// // Interface: IXMLDOMNodeList // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF82-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMNodeList = interface(IDispatch) ['{2933BF82-7B36-11D2-B20E-00C04F983E60}'] function Get_item(index: Integer): IXMLDOMNode; safecall; function Get_length: Integer; safecall; function nextNode: IXMLDOMNode; safecall; procedure reset; safecall; function Get__newEnum: IUnknown; safecall; property item[index: Integer]: IXMLDOMNode read Get_item; default; property length: Integer read Get_length; property _newEnum: IUnknown read Get__newEnum; end; // *********************************************************************// // DispIntf: IXMLDOMNodeListDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF82-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMNodeListDisp = dispinterface ['{2933BF82-7B36-11D2-B20E-00C04F983E60}'] property item[index: Integer]: IXMLDOMNode readonly dispid 0; default; property length: Integer readonly dispid 74; function nextNode: IXMLDOMNode; dispid 76; procedure reset; dispid 77; property _newEnum: IUnknown readonly dispid -4; end; // *********************************************************************// // Interface: IXMLDOMNode // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF80-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMNode = interface(IDispatch) ['{2933BF80-7B36-11D2-B20E-00C04F983E60}'] function Get_nodeName: WideString; safecall; function Get_nodeValue: OleVariant; safecall; procedure Set_nodeValue(value: OleVariant); safecall; function Get_nodeType: DOMNodeType; safecall; function Get_parentNode: IXMLDOMNode; safecall; function Get_childNodes: PPUserType1; safecall; function Get_firstChild: IXMLDOMNode; safecall; function Get_lastChild: IXMLDOMNode; safecall; function Get_previousSibling: IXMLDOMNode; safecall; function Get_nextSibling: IXMLDOMNode; safecall; function Get_attributes: PPUserType2; safecall; function insertBefore(const newChild: IXMLDOMNode; refChild: OleVariant): IXMLDOMNode; safecall; function replaceChild(const newChild: IXMLDOMNode; const oldChild: IXMLDOMNode): IXMLDOMNode; safecall; function removeChild(const childNode: IXMLDOMNode): IXMLDOMNode; safecall; function appendChild(const newChild: IXMLDOMNode): IXMLDOMNode; safecall; function hasChildNodes: WordBool; safecall; function Get_ownerDocument: PPUserType3; safecall; function cloneNode(deep: WordBool): IXMLDOMNode; safecall; function Get_nodeTypeString: WideString; safecall; function Get_text: WideString; safecall; procedure Set_text(const text: WideString); safecall; function Get_specified: WordBool; safecall; function Get_definition: IXMLDOMNode; safecall; function Get_nodeTypedValue: OleVariant; safecall; procedure Set_nodeTypedValue(typedValue: OleVariant); safecall; function Get_dataType: OleVariant; safecall; procedure Set_dataType(const dataTypeName: WideString); safecall; function Get_xml: WideString; safecall; function transformNode(const stylesheet: IXMLDOMNode): WideString; safecall; function selectNodes(const queryString: WideString): IXMLDOMNodeList; safecall; function selectSingleNode(const queryString: WideString): IXMLDOMNode; safecall; function Get_parsed: WordBool; safecall; function Get_namespaceURI: WideString; safecall; function Get_prefix: WideString; safecall; function Get_baseName: WideString; safecall; procedure transformNodeToObject(const stylesheet: IXMLDOMNode; outputObject: OleVariant); safecall; property nodeName: WideString read Get_nodeName; property nodeValue: OleVariant read Get_nodeValue write Set_nodeValue; property nodeType: DOMNodeType read Get_nodeType; property parentNode: IXMLDOMNode read Get_parentNode; property childNodes: PPUserType1 read Get_childNodes; property firstChild: IXMLDOMNode read Get_firstChild; property lastChild: IXMLDOMNode read Get_lastChild; property previousSibling: IXMLDOMNode read Get_previousSibling; property nextSibling: IXMLDOMNode read Get_nextSibling; property attributes: PPUserType2 read Get_attributes; property ownerDocument: PPUserType3 read Get_ownerDocument; property nodeTypeString: WideString read Get_nodeTypeString; property text: WideString read Get_text write Set_text; property specified: WordBool read Get_specified; property definition: IXMLDOMNode read Get_definition; property nodeTypedValue: OleVariant read Get_nodeTypedValue write Set_nodeTypedValue; property xml: WideString read Get_xml; property parsed: WordBool read Get_parsed; property namespaceURI: WideString read Get_namespaceURI; property prefix: WideString read Get_prefix; property baseName: WideString read Get_baseName; end; // *********************************************************************// // DispIntf: IXMLDOMNodeDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF80-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMNodeDisp = dispinterface ['{2933BF80-7B36-11D2-B20E-00C04F983E60}'] property nodeName: WideString readonly dispid 2; property nodeValue: OleVariant dispid 3; property nodeType: DOMNodeType readonly dispid 4; property parentNode: IXMLDOMNode readonly dispid 6; property childNodes: {??PPUserType1}OleVariant readonly dispid 7; property firstChild: IXMLDOMNode readonly dispid 8; property lastChild: IXMLDOMNode readonly dispid 9; property previousSibling: IXMLDOMNode readonly dispid 10; property nextSibling: IXMLDOMNode readonly dispid 11; property attributes: {??PPUserType2}OleVariant readonly dispid 12; function insertBefore(const newChild: IXMLDOMNode; refChild: OleVariant): IXMLDOMNode; dispid 13; function replaceChild(const newChild: IXMLDOMNode; const oldChild: IXMLDOMNode): IXMLDOMNode; dispid 14; function removeChild(const childNode: IXMLDOMNode): IXMLDOMNode; dispid 15; function appendChild(const newChild: IXMLDOMNode): IXMLDOMNode; dispid 16; function hasChildNodes: WordBool; dispid 17; property ownerDocument: {??PPUserType3}OleVariant readonly dispid 18; function cloneNode(deep: WordBool): IXMLDOMNode; dispid 19; property nodeTypeString: WideString readonly dispid 21; property text: WideString dispid 24; property specified: WordBool readonly dispid 22; property definition: IXMLDOMNode readonly dispid 23; property nodeTypedValue: OleVariant dispid 25; function dataType: OleVariant; dispid 26; property xml: WideString readonly dispid 27; function transformNode(const stylesheet: IXMLDOMNode): WideString; dispid 28; function selectNodes(const queryString: WideString): IXMLDOMNodeList; dispid 29; function selectSingleNode(const queryString: WideString): IXMLDOMNode; dispid 30; property parsed: WordBool readonly dispid 31; property namespaceURI: WideString readonly dispid 32; property prefix: WideString readonly dispid 33; property baseName: WideString readonly dispid 34; procedure transformNodeToObject(const stylesheet: IXMLDOMNode; outputObject: OleVariant); dispid 35; end; // *********************************************************************// // Interface: IXMLDOMNamedNodeMap // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF83-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMNamedNodeMap = interface(IDispatch) ['{2933BF83-7B36-11D2-B20E-00C04F983E60}'] function getNamedItem(const name: WideString): IXMLDOMNode; safecall; function setNamedItem(const newItem: IXMLDOMNode): IXMLDOMNode; safecall; function removeNamedItem(const name: WideString): IXMLDOMNode; safecall; function Get_item(index: Integer): IXMLDOMNode; safecall; function Get_length: Integer; safecall; function getQualifiedItem(const baseName: WideString; const namespaceURI: WideString): IXMLDOMNode; safecall; function removeQualifiedItem(const baseName: WideString; const namespaceURI: WideString): IXMLDOMNode; safecall; function nextNode: IXMLDOMNode; safecall; procedure reset; safecall; function Get__newEnum: IUnknown; safecall; property item[index: Integer]: IXMLDOMNode read Get_item; default; property length: Integer read Get_length; property _newEnum: IUnknown read Get__newEnum; end; // *********************************************************************// // DispIntf: IXMLDOMNamedNodeMapDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF83-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMNamedNodeMapDisp = dispinterface ['{2933BF83-7B36-11D2-B20E-00C04F983E60}'] function getNamedItem(const name: WideString): IXMLDOMNode; dispid 83; function setNamedItem(const newItem: IXMLDOMNode): IXMLDOMNode; dispid 84; function removeNamedItem(const name: WideString): IXMLDOMNode; dispid 85; property item[index: Integer]: IXMLDOMNode readonly dispid 0; default; property length: Integer readonly dispid 74; function getQualifiedItem(const baseName: WideString; const namespaceURI: WideString): IXMLDOMNode; dispid 87; function removeQualifiedItem(const baseName: WideString; const namespaceURI: WideString): IXMLDOMNode; dispid 88; function nextNode: IXMLDOMNode; dispid 89; procedure reset; dispid 90; property _newEnum: IUnknown readonly dispid -4; end; // *********************************************************************// // Interface: IXMLDOMDocument // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF81-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMDocument = interface(IXMLDOMNode) ['{2933BF81-7B36-11D2-B20E-00C04F983E60}'] function Get_doctype: PPUserType4; safecall; function Get_implementation_: PPUserType5; safecall; function Get_documentElement: PPUserType6; safecall; procedure _Set_documentElement(const DOMElement: IXMLDOMElement); safecall; function createElement(const tagName: WideString): IXMLDOMElement; safecall; function createDocumentFragment: PPUserType7; safecall; function createTextNode(const data: WideString): PPUserType8; safecall; function createComment(const data: WideString): PPUserType9; safecall; function createCDATASection(const data: WideString): PPUserType10; safecall; function createProcessingInstruction(const target: WideString; const data: WideString): PPUserType11; safecall; function createAttribute(const name: WideString): PPUserType12; safecall; function createEntityReference(const name: WideString): PPUserType13; safecall; function getElementsByTagName(const tagName: WideString): IXMLDOMNodeList; safecall; function createNode(type_: OleVariant; const name: WideString; const namespaceURI: WideString): IXMLDOMNode; safecall; function nodeFromID(const idString: WideString): IXMLDOMNode; safecall; function load(xmlSource: OleVariant): WordBool; safecall; function Get_readyState: Integer; safecall; function Get_parseError: PPUserType14; safecall; function Get_url: WideString; safecall; function Get_async: WordBool; safecall; procedure Set_async(isAsync: WordBool); safecall; procedure abort; safecall; function loadXML(const bstrXML: WideString): WordBool; safecall; procedure save(desination: OleVariant); safecall; function Get_validateOnParse: WordBool; safecall; procedure Set_validateOnParse(isValidating: WordBool); safecall; function Get_resolveExternals: WordBool; safecall; procedure Set_resolveExternals(isResolving: WordBool); safecall; function Get_preserveWhiteSpace: WordBool; safecall; procedure Set_preserveWhiteSpace(isPreserving: WordBool); safecall; procedure Set_onreadystatechange(Param1: OleVariant); safecall; procedure Set_ondataavailable(Param1: OleVariant); safecall; procedure Set_ontransformnode(Param1: OleVariant); safecall; property doctype: PPUserType4 read Get_doctype; property implementation_: PPUserType5 read Get_implementation_; property readyState: Integer read Get_readyState; property parseError: PPUserType14 read Get_parseError; property url: WideString read Get_url; property async: WordBool read Get_async write Set_async; property validateOnParse: WordBool read Get_validateOnParse write Set_validateOnParse; property resolveExternals: WordBool read Get_resolveExternals write Set_resolveExternals; property preserveWhiteSpace: WordBool read Get_preserveWhiteSpace write Set_preserveWhiteSpace; property onreadystatechange: OleVariant write Set_onreadystatechange; property ondataavailable: OleVariant write Set_ondataavailable; property ontransformnode: OleVariant write Set_ontransformnode; end; // *********************************************************************// // DispIntf: IXMLDOMDocumentDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF81-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMDocumentDisp = dispinterface ['{2933BF81-7B36-11D2-B20E-00C04F983E60}'] property doctype: {??PPUserType4}OleVariant readonly dispid 38; property implementation_: {??PPUserType5}OleVariant readonly dispid 39; function documentElement: {??PPUserType6}OleVariant; dispid 40; function createElement(const tagName: WideString): IXMLDOMElement; dispid 41; function createDocumentFragment: {??PPUserType7}OleVariant; dispid 42; function createTextNode(const data: WideString): {??PPUserType8}OleVariant; dispid 43; function createComment(const data: WideString): {??PPUserType9}OleVariant; dispid 44; function createCDATASection(const data: WideString): {??PPUserType10}OleVariant; dispid 45; function createProcessingInstruction(const target: WideString; const data: WideString): {??PPUserType11}OleVariant; dispid 46; function createAttribute(const name: WideString): {??PPUserType12}OleVariant; dispid 47; function createEntityReference(const name: WideString): {??PPUserType13}OleVariant; dispid 49; function getElementsByTagName(const tagName: WideString): IXMLDOMNodeList; dispid 50; function createNode(type_: OleVariant; const name: WideString; const namespaceURI: WideString): IXMLDOMNode; dispid 54; function nodeFromID(const idString: WideString): IXMLDOMNode; dispid 56; function load(xmlSource: OleVariant): WordBool; dispid 58; property readyState: Integer readonly dispid -525; property parseError: {??PPUserType14}OleVariant readonly dispid 59; property url: WideString readonly dispid 60; property async: WordBool dispid 61; procedure abort; dispid 62; function loadXML(const bstrXML: WideString): WordBool; dispid 63; procedure save(desination: OleVariant); dispid 64; property validateOnParse: WordBool dispid 65; property resolveExternals: WordBool dispid 66; property preserveWhiteSpace: WordBool dispid 67; property onreadystatechange: OleVariant writeonly dispid 68; property ondataavailable: OleVariant writeonly dispid 69; property ontransformnode: OleVariant writeonly dispid 70; property nodeName: WideString readonly dispid 2; property nodeValue: OleVariant dispid 3; property nodeType: DOMNodeType readonly dispid 4; property parentNode: IXMLDOMNode readonly dispid 6; property childNodes: {??PPUserType1}OleVariant readonly dispid 7; property firstChild: IXMLDOMNode readonly dispid 8; property lastChild: IXMLDOMNode readonly dispid 9; property previousSibling: IXMLDOMNode readonly dispid 10; property nextSibling: IXMLDOMNode readonly dispid 11; property attributes: {??PPUserType2}OleVariant readonly dispid 12; function insertBefore(const newChild: IXMLDOMNode; refChild: OleVariant): IXMLDOMNode; dispid 13; function replaceChild(const newChild: IXMLDOMNode; const oldChild: IXMLDOMNode): IXMLDOMNode; dispid 14; function removeChild(const childNode: IXMLDOMNode): IXMLDOMNode; dispid 15; function appendChild(const newChild: IXMLDOMNode): IXMLDOMNode; dispid 16; function hasChildNodes: WordBool; dispid 17; property ownerDocument: {??PPUserType3}OleVariant readonly dispid 18; function cloneNode(deep: WordBool): IXMLDOMNode; dispid 19; property nodeTypeString: WideString readonly dispid 21; property text: WideString dispid 24; property specified: WordBool readonly dispid 22; property definition: IXMLDOMNode readonly dispid 23; property nodeTypedValue: OleVariant dispid 25; function dataType: OleVariant; dispid 26; property xml: WideString readonly dispid 27; function transformNode(const stylesheet: IXMLDOMNode): WideString; dispid 28; function selectNodes(const queryString: WideString): IXMLDOMNodeList; dispid 29; function selectSingleNode(const queryString: WideString): IXMLDOMNode; dispid 30; property parsed: WordBool readonly dispid 31; property namespaceURI: WideString readonly dispid 32; property prefix: WideString readonly dispid 33; property baseName: WideString readonly dispid 34; procedure transformNodeToObject(const stylesheet: IXMLDOMNode; outputObject: OleVariant); dispid 35; end; // *********************************************************************// // Interface: IXMLDOMDocumentType // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF8B-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMDocumentType = interface(IXMLDOMNode) ['{2933BF8B-7B36-11D2-B20E-00C04F983E60}'] function Get_name: WideString; safecall; function Get_entities: IXMLDOMNamedNodeMap; safecall; function Get_notations: IXMLDOMNamedNodeMap; safecall; property name: WideString read Get_name; property entities: IXMLDOMNamedNodeMap read Get_entities; property notations: IXMLDOMNamedNodeMap read Get_notations; end; // *********************************************************************// // DispIntf: IXMLDOMDocumentTypeDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF8B-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMDocumentTypeDisp = dispinterface ['{2933BF8B-7B36-11D2-B20E-00C04F983E60}'] property name: WideString readonly dispid 131; property entities: IXMLDOMNamedNodeMap readonly dispid 132; property notations: IXMLDOMNamedNodeMap readonly dispid 133; property nodeName: WideString readonly dispid 2; property nodeValue: OleVariant dispid 3; property nodeType: DOMNodeType readonly dispid 4; property parentNode: IXMLDOMNode readonly dispid 6; property childNodes: {??PPUserType1}OleVariant readonly dispid 7; property firstChild: IXMLDOMNode readonly dispid 8; property lastChild: IXMLDOMNode readonly dispid 9; property previousSibling: IXMLDOMNode readonly dispid 10; property nextSibling: IXMLDOMNode readonly dispid 11; property attributes: {??PPUserType2}OleVariant readonly dispid 12; function insertBefore(const newChild: IXMLDOMNode; refChild: OleVariant): IXMLDOMNode; dispid 13; function replaceChild(const newChild: IXMLDOMNode; const oldChild: IXMLDOMNode): IXMLDOMNode; dispid 14; function removeChild(const childNode: IXMLDOMNode): IXMLDOMNode; dispid 15; function appendChild(const newChild: IXMLDOMNode): IXMLDOMNode; dispid 16; function hasChildNodes: WordBool; dispid 17; property ownerDocument: {??PPUserType3}OleVariant readonly dispid 18; function cloneNode(deep: WordBool): IXMLDOMNode; dispid 19; property nodeTypeString: WideString readonly dispid 21; property text: WideString dispid 24; property specified: WordBool readonly dispid 22; property definition: IXMLDOMNode readonly dispid 23; property nodeTypedValue: OleVariant dispid 25; function dataType: OleVariant; dispid 26; property xml: WideString readonly dispid 27; function transformNode(const stylesheet: IXMLDOMNode): WideString; dispid 28; function selectNodes(const queryString: WideString): IXMLDOMNodeList; dispid 29; function selectSingleNode(const queryString: WideString): IXMLDOMNode; dispid 30; property parsed: WordBool readonly dispid 31; property namespaceURI: WideString readonly dispid 32; property prefix: WideString readonly dispid 33; property baseName: WideString readonly dispid 34; procedure transformNodeToObject(const stylesheet: IXMLDOMNode; outputObject: OleVariant); dispid 35; end; // *********************************************************************// // Interface: IXMLDOMImplementation // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF8F-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMImplementation = interface(IDispatch) ['{2933BF8F-7B36-11D2-B20E-00C04F983E60}'] function hasFeature(const feature: WideString; const version: WideString): WordBool; safecall; end; // *********************************************************************// // DispIntf: IXMLDOMImplementationDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF8F-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMImplementationDisp = dispinterface ['{2933BF8F-7B36-11D2-B20E-00C04F983E60}'] function hasFeature(const feature: WideString; const version: WideString): WordBool; dispid 145; end; // *********************************************************************// // Interface: IXMLDOMElement // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF86-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMElement = interface(IXMLDOMNode) ['{2933BF86-7B36-11D2-B20E-00C04F983E60}'] function Get_tagName: WideString; safecall; function getAttribute(const name: WideString): OleVariant; safecall; procedure setAttribute(const name: WideString; value: OleVariant); safecall; procedure removeAttribute(const name: WideString); safecall; function getAttributeNode(const name: WideString): IXMLDOMAttribute; safecall; function setAttributeNode(const DOMAttribute: IXMLDOMAttribute): IXMLDOMAttribute; safecall; function removeAttributeNode(const DOMAttribute: IXMLDOMAttribute): IXMLDOMAttribute; safecall; function getElementsByTagName(const tagName: WideString): IXMLDOMNodeList; safecall; procedure normalize; safecall; property tagName: WideString read Get_tagName; end; // *********************************************************************// // DispIntf: IXMLDOMElementDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF86-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMElementDisp = dispinterface ['{2933BF86-7B36-11D2-B20E-00C04F983E60}'] property tagName: WideString readonly dispid 97; function getAttribute(const name: WideString): OleVariant; dispid 99; procedure setAttribute(const name: WideString; value: OleVariant); dispid 100; procedure removeAttribute(const name: WideString); dispid 101; function getAttributeNode(const name: WideString): IXMLDOMAttribute; dispid 102; function setAttributeNode(const DOMAttribute: IXMLDOMAttribute): IXMLDOMAttribute; dispid 103; function removeAttributeNode(const DOMAttribute: IXMLDOMAttribute): IXMLDOMAttribute; dispid 104; function getElementsByTagName(const tagName: WideString): IXMLDOMNodeList; dispid 105; procedure normalize; dispid 106; property nodeName: WideString readonly dispid 2; property nodeValue: OleVariant dispid 3; property nodeType: DOMNodeType readonly dispid 4; property parentNode: IXMLDOMNode readonly dispid 6; property childNodes: {??PPUserType1}OleVariant readonly dispid 7; property firstChild: IXMLDOMNode readonly dispid 8; property lastChild: IXMLDOMNode readonly dispid 9; property previousSibling: IXMLDOMNode readonly dispid 10; property nextSibling: IXMLDOMNode readonly dispid 11; property attributes: {??PPUserType2}OleVariant readonly dispid 12; function insertBefore(const newChild: IXMLDOMNode; refChild: OleVariant): IXMLDOMNode; dispid 13; function replaceChild(const newChild: IXMLDOMNode; const oldChild: IXMLDOMNode): IXMLDOMNode; dispid 14; function removeChild(const childNode: IXMLDOMNode): IXMLDOMNode; dispid 15; function appendChild(const newChild: IXMLDOMNode): IXMLDOMNode; dispid 16; function hasChildNodes: WordBool; dispid 17; property ownerDocument: {??PPUserType3}OleVariant readonly dispid 18; function cloneNode(deep: WordBool): IXMLDOMNode; dispid 19; property nodeTypeString: WideString readonly dispid 21; property text: WideString dispid 24; property specified: WordBool readonly dispid 22; property definition: IXMLDOMNode readonly dispid 23; property nodeTypedValue: OleVariant dispid 25; function dataType: OleVariant; dispid 26; property xml: WideString readonly dispid 27; function transformNode(const stylesheet: IXMLDOMNode): WideString; dispid 28; function selectNodes(const queryString: WideString): IXMLDOMNodeList; dispid 29; function selectSingleNode(const queryString: WideString): IXMLDOMNode; dispid 30; property parsed: WordBool readonly dispid 31; property namespaceURI: WideString readonly dispid 32; property prefix: WideString readonly dispid 33; property baseName: WideString readonly dispid 34; procedure transformNodeToObject(const stylesheet: IXMLDOMNode; outputObject: OleVariant); dispid 35; end; // *********************************************************************// // Interface: IXMLDOMAttribute // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF85-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMAttribute = interface(IXMLDOMNode) ['{2933BF85-7B36-11D2-B20E-00C04F983E60}'] function Get_name: WideString; safecall; function Get_value: OleVariant; safecall; procedure Set_value(attributeValue: OleVariant); safecall; property name: WideString read Get_name; property value: OleVariant read Get_value write Set_value; end; // *********************************************************************// // DispIntf: IXMLDOMAttributeDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF85-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMAttributeDisp = dispinterface ['{2933BF85-7B36-11D2-B20E-00C04F983E60}'] property name: WideString readonly dispid 118; property value: OleVariant dispid 120; property nodeName: WideString readonly dispid 2; property nodeValue: OleVariant dispid 3; property nodeType: DOMNodeType readonly dispid 4; property parentNode: IXMLDOMNode readonly dispid 6; property childNodes: {??PPUserType1}OleVariant readonly dispid 7; property firstChild: IXMLDOMNode readonly dispid 8; property lastChild: IXMLDOMNode readonly dispid 9; property previousSibling: IXMLDOMNode readonly dispid 10; property nextSibling: IXMLDOMNode readonly dispid 11; property attributes: {??PPUserType2}OleVariant readonly dispid 12; function insertBefore(const newChild: IXMLDOMNode; refChild: OleVariant): IXMLDOMNode; dispid 13; function replaceChild(const newChild: IXMLDOMNode; const oldChild: IXMLDOMNode): IXMLDOMNode; dispid 14; function removeChild(const childNode: IXMLDOMNode): IXMLDOMNode; dispid 15; function appendChild(const newChild: IXMLDOMNode): IXMLDOMNode; dispid 16; function hasChildNodes: WordBool; dispid 17; property ownerDocument: {??PPUserType3}OleVariant readonly dispid 18; function cloneNode(deep: WordBool): IXMLDOMNode; dispid 19; property nodeTypeString: WideString readonly dispid 21; property text: WideString dispid 24; property specified: WordBool readonly dispid 22; property definition: IXMLDOMNode readonly dispid 23; property nodeTypedValue: OleVariant dispid 25; function dataType: OleVariant; dispid 26; property xml: WideString readonly dispid 27; function transformNode(const stylesheet: IXMLDOMNode): WideString; dispid 28; function selectNodes(const queryString: WideString): IXMLDOMNodeList; dispid 29; function selectSingleNode(const queryString: WideString): IXMLDOMNode; dispid 30; property parsed: WordBool readonly dispid 31; property namespaceURI: WideString readonly dispid 32; property prefix: WideString readonly dispid 33; property baseName: WideString readonly dispid 34; procedure transformNodeToObject(const stylesheet: IXMLDOMNode; outputObject: OleVariant); dispid 35; end; // *********************************************************************// // Interface: IXMLDOMDocumentFragment // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {3EFAA413-272F-11D2-836F-0000F87A7782} // *********************************************************************// IXMLDOMDocumentFragment = interface(IXMLDOMNode) ['{3EFAA413-272F-11D2-836F-0000F87A7782}'] end; // *********************************************************************// // DispIntf: IXMLDOMDocumentFragmentDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {3EFAA413-272F-11D2-836F-0000F87A7782} // *********************************************************************// IXMLDOMDocumentFragmentDisp = dispinterface ['{3EFAA413-272F-11D2-836F-0000F87A7782}'] property nodeName: WideString readonly dispid 2; property nodeValue: OleVariant dispid 3; property nodeType: DOMNodeType readonly dispid 4; property parentNode: IXMLDOMNode readonly dispid 6; property childNodes: {??PPUserType1}OleVariant readonly dispid 7; property firstChild: IXMLDOMNode readonly dispid 8; property lastChild: IXMLDOMNode readonly dispid 9; property previousSibling: IXMLDOMNode readonly dispid 10; property nextSibling: IXMLDOMNode readonly dispid 11; property attributes: {??PPUserType2}OleVariant readonly dispid 12; function insertBefore(const newChild: IXMLDOMNode; refChild: OleVariant): IXMLDOMNode; dispid 13; function replaceChild(const newChild: IXMLDOMNode; const oldChild: IXMLDOMNode): IXMLDOMNode; dispid 14; function removeChild(const childNode: IXMLDOMNode): IXMLDOMNode; dispid 15; function appendChild(const newChild: IXMLDOMNode): IXMLDOMNode; dispid 16; function hasChildNodes: WordBool; dispid 17; property ownerDocument: {??PPUserType3}OleVariant readonly dispid 18; function cloneNode(deep: WordBool): IXMLDOMNode; dispid 19; property nodeTypeString: WideString readonly dispid 21; property text: WideString dispid 24; property specified: WordBool readonly dispid 22; property definition: IXMLDOMNode readonly dispid 23; property nodeTypedValue: OleVariant dispid 25; function dataType: OleVariant; dispid 26; property xml: WideString readonly dispid 27; function transformNode(const stylesheet: IXMLDOMNode): WideString; dispid 28; function selectNodes(const queryString: WideString): IXMLDOMNodeList; dispid 29; function selectSingleNode(const queryString: WideString): IXMLDOMNode; dispid 30; property parsed: WordBool readonly dispid 31; property namespaceURI: WideString readonly dispid 32; property prefix: WideString readonly dispid 33; property baseName: WideString readonly dispid 34; procedure transformNodeToObject(const stylesheet: IXMLDOMNode; outputObject: OleVariant); dispid 35; end; // *********************************************************************// // Interface: IXMLDOMCharacterData // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF84-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMCharacterData = interface(IXMLDOMNode) ['{2933BF84-7B36-11D2-B20E-00C04F983E60}'] function Get_data: WideString; safecall; procedure Set_data(const data: WideString); safecall; function Get_length: Integer; safecall; function substringData(offset: Integer; count: Integer): WideString; safecall; procedure appendData(const data: WideString); safecall; procedure insertData(offset: Integer; const data: WideString); safecall; procedure deleteData(offset: Integer; count: Integer); safecall; procedure replaceData(offset: Integer; count: Integer; const data: WideString); safecall; property data: WideString read Get_data write Set_data; property length: Integer read Get_length; end; // *********************************************************************// // DispIntf: IXMLDOMCharacterDataDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF84-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMCharacterDataDisp = dispinterface ['{2933BF84-7B36-11D2-B20E-00C04F983E60}'] property data: WideString dispid 109; property length: Integer readonly dispid 110; function substringData(offset: Integer; count: Integer): WideString; dispid 111; procedure appendData(const data: WideString); dispid 112; procedure insertData(offset: Integer; const data: WideString); dispid 113; procedure deleteData(offset: Integer; count: Integer); dispid 114; procedure replaceData(offset: Integer; count: Integer; const data: WideString); dispid 115; property nodeName: WideString readonly dispid 2; property nodeValue: OleVariant dispid 3; property nodeType: DOMNodeType readonly dispid 4; property parentNode: IXMLDOMNode readonly dispid 6; property childNodes: {??PPUserType1}OleVariant readonly dispid 7; property firstChild: IXMLDOMNode readonly dispid 8; property lastChild: IXMLDOMNode readonly dispid 9; property previousSibling: IXMLDOMNode readonly dispid 10; property nextSibling: IXMLDOMNode readonly dispid 11; property attributes: {??PPUserType2}OleVariant readonly dispid 12; function insertBefore(const newChild: IXMLDOMNode; refChild: OleVariant): IXMLDOMNode; dispid 13; function replaceChild(const newChild: IXMLDOMNode; const oldChild: IXMLDOMNode): IXMLDOMNode; dispid 14; function removeChild(const childNode: IXMLDOMNode): IXMLDOMNode; dispid 15; function appendChild(const newChild: IXMLDOMNode): IXMLDOMNode; dispid 16; function hasChildNodes: WordBool; dispid 17; property ownerDocument: {??PPUserType3}OleVariant readonly dispid 18; function cloneNode(deep: WordBool): IXMLDOMNode; dispid 19; property nodeTypeString: WideString readonly dispid 21; property text: WideString dispid 24; property specified: WordBool readonly dispid 22; property definition: IXMLDOMNode readonly dispid 23; property nodeTypedValue: OleVariant dispid 25; function dataType: OleVariant; dispid 26; property xml: WideString readonly dispid 27; function transformNode(const stylesheet: IXMLDOMNode): WideString; dispid 28; function selectNodes(const queryString: WideString): IXMLDOMNodeList; dispid 29; function selectSingleNode(const queryString: WideString): IXMLDOMNode; dispid 30; property parsed: WordBool readonly dispid 31; property namespaceURI: WideString readonly dispid 32; property prefix: WideString readonly dispid 33; property baseName: WideString readonly dispid 34; procedure transformNodeToObject(const stylesheet: IXMLDOMNode; outputObject: OleVariant); dispid 35; end; // *********************************************************************// // Interface: IXMLDOMText // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF87-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMText = interface(IXMLDOMCharacterData) ['{2933BF87-7B36-11D2-B20E-00C04F983E60}'] function splitText(offset: Integer): IXMLDOMText; safecall; end; // *********************************************************************// // DispIntf: IXMLDOMTextDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF87-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMTextDisp = dispinterface ['{2933BF87-7B36-11D2-B20E-00C04F983E60}'] function splitText(offset: Integer): IXMLDOMText; dispid 123; property data: WideString dispid 109; property length: Integer readonly dispid 110; function substringData(offset: Integer; count: Integer): WideString; dispid 111; procedure appendData(const data: WideString); dispid 112; procedure insertData(offset: Integer; const data: WideString); dispid 113; procedure deleteData(offset: Integer; count: Integer); dispid 114; procedure replaceData(offset: Integer; count: Integer; const data: WideString); dispid 115; property nodeName: WideString readonly dispid 2; property nodeValue: OleVariant dispid 3; property nodeType: DOMNodeType readonly dispid 4; property parentNode: IXMLDOMNode readonly dispid 6; property childNodes: {??PPUserType1}OleVariant readonly dispid 7; property firstChild: IXMLDOMNode readonly dispid 8; property lastChild: IXMLDOMNode readonly dispid 9; property previousSibling: IXMLDOMNode readonly dispid 10; property nextSibling: IXMLDOMNode readonly dispid 11; property attributes: {??PPUserType2}OleVariant readonly dispid 12; function insertBefore(const newChild: IXMLDOMNode; refChild: OleVariant): IXMLDOMNode; dispid 13; function replaceChild(const newChild: IXMLDOMNode; const oldChild: IXMLDOMNode): IXMLDOMNode; dispid 14; function removeChild(const childNode: IXMLDOMNode): IXMLDOMNode; dispid 15; function appendChild(const newChild: IXMLDOMNode): IXMLDOMNode; dispid 16; function hasChildNodes: WordBool; dispid 17; property ownerDocument: {??PPUserType3}OleVariant readonly dispid 18; function cloneNode(deep: WordBool): IXMLDOMNode; dispid 19; property nodeTypeString: WideString readonly dispid 21; property text: WideString dispid 24; property specified: WordBool readonly dispid 22; property definition: IXMLDOMNode readonly dispid 23; property nodeTypedValue: OleVariant dispid 25; function dataType: OleVariant; dispid 26; property xml: WideString readonly dispid 27; function transformNode(const stylesheet: IXMLDOMNode): WideString; dispid 28; function selectNodes(const queryString: WideString): IXMLDOMNodeList; dispid 29; function selectSingleNode(const queryString: WideString): IXMLDOMNode; dispid 30; property parsed: WordBool readonly dispid 31; property namespaceURI: WideString readonly dispid 32; property prefix: WideString readonly dispid 33; property baseName: WideString readonly dispid 34; procedure transformNodeToObject(const stylesheet: IXMLDOMNode; outputObject: OleVariant); dispid 35; end; // *********************************************************************// // Interface: IXMLDOMComment // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF88-7B36-11D2-B20E-00C04F983E60} // *********************************************************************// IXMLDOMComment = interface(IXMLDOMCharacterData) ['{2933BF88-7B36-11D2-B20E-00C04F983E60}'] end; // *********************************************************************// // DispIntf: IXMLDOMCommentDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {2933BF88- |
Zitat |
Razor
(Gast)
n/a Beiträge |
#12
bump.
Could someobody translate this. in to delphi? C++ Code
Delphi-Quellcode:
// Class that implements IWinSATInitiateEvents. Implement this class to
// get progress information and completion notification. class CWinSATCallbacks : public IWinSATInitiateEvents { LONG m_lRefCount; public: // Constructor, Destructor CWinSATCallbacks() {m_lRefCount = 1;}; ~CWinSATCallbacks() {}; // IUnknown methods HRESULT __stdcall QueryInterface(REFIID riid, LPVOID *ppvObj); ULONG __stdcall AddRef(); ULONG __stdcall Release(); // IWinSATInitiateEvents methods HRESULT __stdcall WinSATComplete(HRESULT hr, LPCWSTR description); HRESULT __stdcall WinSATUpdate(UINT currentTick, UINT tickTotal, LPCWSTR currentState); //how to use this ? }; Delphi Code
Delphi-Quellcode:
Example in c++ code
IWinSATInitiateEvents = interface(IUnknown)
['{262A1918-BA0D-41D5-92C2-FAB4633EE74F}'] function WinSATComplete(hresult: HResult; strDescription: PWideChar): HResult; stdcall; function WinSATUpdate(uCurrentTick: SYSUINT; uTickTotal: SYSUINT; strCurrentState: PWideChar): HResult; stdcall; end;
Delphi-Quellcode:
// Is called when the assessment makes progress. Indicates the percentage of the assessment
// that is complete and the current component being assessed. HRESULT CWinSATCallbacks::WinSATUpdate(UINT currentTick, UINT tickTotal, LPCWSTR currentState) { // Typically, you would provide the tick values to a ProgressBar control. if (tickTotal > 0) { wprintf(L"\n*** Percent complete: %u%%\n", 100*currentTick/tickTotal); wprintf(L"*** Currently assessing: %s\n\n", currentState); } return S_OK; } So acording to the above code why does the compiler halt when i press on the button?
Delphi-Quellcode:
i:IWinSATInitiateEvents;
k:_RemotableHandle; l:hresult; s:string; begin CInitiateWinSAT1.Create(SELF); i.WinSATComplete(l,pchar(s)); //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< |
Zitat |
(Moderator)
Registriert seit: 25. Jun 2002 Ort: Hausach 7.641 Beiträge |
#13
Zitat von Razor:
bump.
You are violating our community rules here over and over again, and we don't allow that. Therefore this thread will be closed. All new threads you create regarding this topic will be deleted without further notice and this thread will be opened again in 24 hours, to train your patience. * C L O S E D * until 13:30 wednesday, UTC + 1. Edit: Reopened after temporary closure.
Sebastian Gingter
Phoenix - 不死鳥, Microsoft MVP, Rettungshundeführer Über mich: Sebastian Gingter @ Thinktecture Mein Blog: https://gingter.org |
Zitat |
Ansicht |
Linear-Darstellung |
Zur Hybrid-Darstellung wechseln |
Zur Baum-Darstellung wechseln |
ForumregelnEs ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.
BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus. Trackbacks are an
Pingbacks are an
Refbacks are aus
|
|
Nützliche Links |
Heutige Beiträge |
Sitemap |
Suchen |
Code-Library |
Wer ist online |
Alle Foren als gelesen markieren |
Gehe zu... |
LinkBack |
LinkBack URL |
About LinkBacks |