Download MetaTrader 5

How to encapsulate a project in the "projects" directory?

To add comments, please log in or register
jaycode
18
jaycode 2014.10.30 03:44 

Hi,

Instead of having to put scripts in /Scripts directory, included files in /Includes directory, and DLL files in /Libraries directory, I want to put everything inside /Projects directory, like so:

Projects/

  MyProject/

    Scripts/

      Export.mq5 

    Experts/

      Expert.mq5 

    Libraries/

      MyDLL.dll

    Includes/

      MyClass.mq5 

 

If, for example, in Expert.mq5 I want to #include MyClass.mq5 or MyDLL.dll, how do I write it in code?

Is there a constant that points to Projects directory, perhaps? 

To add comments, please log in or register