[Solved] Probable bug when compiling Services from a Shared Project, they get transfered to the Scripts category folder.
Sorry, but it was my mistake. I forgot to add the service property.
It is now transferring to the correct category!#property service

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
EDIT: Solved! It was my mistake. See next post!
Normally when compiling MQL programs from a Shared Project, MetaEditor will automatically transfer the compiled executable to the necessary category of the standard folders for "Experts", "Indicators" and "Scripts".
However, when compiling "Services", they get transferred to the Scripts category. It seems that even if I place the source in a sub-folder named "Services", it will transfer them to the Scripts none the less.
Given that both Scripts and Services use the "OnStart" event handler, MetaEditor seems incapable to distinguish between the two even when the sub-folder is properly named.