[Test.mqh]
class Test{ public: string success; void Test(){ Comment ( "Success." ); success = "Yeah"; Comment (this.success); } };
[Main.mq5]
#include "Test.mqh" void OnStart (){ Test NF = new Test(); Comment(NF.success); }
取引の機会を逃しています。
- 無料取引アプリ
- 8千を超えるシグナルをコピー
- 金融ニュースで金融マーケットを探索
I want to create an instance in the main process and access the instance members and methods. How can I write to communicate between files?
I can't understand the reference.
I think it's using #resource, #import, or #include.
[Test.mq5]
[Main.mq5]
Thank you for reading.