ys-haさんへ、
お疲れ様です!
ライブラリをダウンロードしましたが、コンパイルしようとすると2つのエラーが発生します:
- '=' - const ポインタから nonconst ポインタに変換できません XmlElement.mqh 171 11
- 'GetXml' - callnon-const method for constant object XmlDocument.mqh 285 28
助けていただけますか?
よろしくお願いします。
よろしくお願いします。
Gianfrancio
gianfrancio:
修正しました。更新版をダウンロードしてください。
ライブラリをダウンロードしたのですが、コンパイルしようとすると2つのエラーが出ます:
- '=' - const ポインタから nonconst ポインタに変換できません XmlElement.mqh 171 11
- 'GetXml' - constant objectに対してconstでないメソッドを 呼び出す XmlDocument.mqh 285 28
ys-shaさん、こんにちは、
ライブラリを組み込んだスクリプトをコンパイルすると、以下のエラーが発生します:
'aParent' - const ポインタから nonconst ポインタに変換できません XmlElement.mqh 95 14
ありがとうございました。
Izechias
Izechias:
ys-shaさん、こんにちは、
ライブラリを組み込んだスクリプトをコンパイルすると、以下のエラーが発生します:
'aParent' - const ポインタから nonconst ポインタに変換できません XmlElement.mqh 95 14
ありがとうございました。
Izechias
こんにちは、Izechiasさん、
この人はすでにこの修正をしています:
楽しんでください。
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-haさんへ、
お疲れ様でした!
エラー "const pointer to nonconst pointer cannot convert from const pointer to nonconst pointer "が出る人のために、
。
よろしくお願いします。
ファイル:
xmlelement.mqh
20 kb
xmldocument.mqh
13 kb
xml_test.mq5がエラーなしでコンパイルされません。 XnlElement.mqhの95行目でエラーが発生します。 95: SetParent(aParent); Error: 'aParent' - const pointerからnonconst pointerに変換できません XmlElement.mqh 95 14 どうすれば修正できますか? コードがコンパイルまたは実行されないのはなぜですか?
取引の機会を逃しています。
- 無料取引アプリ
- 8千を超えるシグナルをコピー
- 金融ニュースで金融マーケットを探索
XMLパーサー:
作者: yu-sha