라이브러리: XML 파서

 

XML 파서:

XML 문서 구문 분석용 라이브러리. 타사 라이브러리를 사용하지 않고 MQL5에서 구현합니다.

Author: yu-sha

 

ys-sha에게,

작업해 주셔서 감사합니다!

라이브러리를 다운로드했지만 컴파일하려고 할 때 두 가지 오류가 발생합니다:

  1. '=' - const 포인터에서 nonconst 포인터로 변환할 수 없음 XmlElement.mqh 171 11
  2. 'GetXml' - 상수 객체에 대해 non-const메서드 호출 XmlDocument.mqh 285 28

도와주실 수 있나요?

미리 감사드립니다.

Regards

Gianfrancio

 
gianfrancio:

라이브러리를 다운로드했지만 컴파일을 시도할 때 두 가지 오류가 발생합니다:

  1. '=' - 상수 포인터에서 논컨스트 포인터로 변환할 수 없음 XmlElement.mqh 171 11
  2. 'GetXml' - 상수 객체에 대해 non-const메서드 호출 XmlDocument.mqh 285 28

수정되었습니다. 업데이트된 버전을 다운로드하세요.
 

안녕하세요,

라이브러리가 포함된 스크립트를 컴파일할 때 다음과 같은 오류가 발생합니다:

'aParent' - const 포인터에서 논컨스트 포인터로 변환할 수 없음 XmlElement.mqh 95 14

작업해 주셔서 감사합니다.

Izechias

 
Izechias:

안녕하세요,

라이브러리가 포함된 스크립트를 컴파일할 때 다음과 같은 오류가 발생합니다:

'aParent' - const 포인터에서 논컨스트 포인터로 변환할 수 없음 XmlElement.mqh 95 14

작업해 주셔서 감사합니다.

Izechias

안녕하세요 Izechias,

이 사람이 이미이 수정을했습니다:

https://www.mql5.com/ko/articles/2540?utm_campaign=MetaEditor+5&utm_medium=special&utm_source=mt5editor+article

즐거운 시간 보내세요.

Universal Expert Advisor: Integration with Standard MetaTrader Modules of Signals (Part 7)
Universal Expert Advisor: Integration with Standard MetaTrader Modules of Signals (Part 7)
  • 2016.07.22
  • Vasiliy Sokolov
  • www.mql5.com
This part of the article describes the possibilities of the CStrategy engine integration with the signal modules included into the standard library in MetaTrader. The article describes how to work with signals, as well as how to create custom strategies on their basis.
 

ys-sha님께,

당신의 일에 감사드립니다!

"const 포인터에서 nonconst 포인터로 변환 할 수 없음"오류가 발생하는 사람들을 위해
첨부 된 것은 내 수정 사항이며 필요한 CDATA 기능도 추가합니다.

안부

파일:
 
xml_test.mq5가 오류 없이 컴파일되지 않습니다. XnlElement.mqh의 95줄에서 오류가 발생합니다. 95: SetParent(aParent); 오류: 'aParent' - const 포인터에서 nonconst 포인터로 변환할 수 없음 XmlElement.mqh 95 14 어떻게 수정하나요? 어떻게 코드가 컴파일되거나 실행되지 않나요?