MetaEditor does not compile any file.

 

Hello everyone,

first, please excuse me for my bad english.


I try to compile a simple indicator/EA, a blank script template from wizard. If i press on "compile", the program shows "Compiling 'test.mq4'..." and nothing happens, even after minutes. If i quit the editor, the program ask, if i want to stop the compiling.


This problem is on differences computers. And sometimes, it works....i dont know what is the problem. I'm using XP, Win2003 and Win7, in german language. Sometimes compiling works, and sometimes not.


Im Using the Version 4.225. All my computers have the latest service packs.


Greetings,

Sebastian

 
Try to open working inicator in MetaEditor and compile it. If it's good, I have to see your code.
 
Roger:
Try to open working inicator in MetaEditor and compile it. If it's good, I have to see your code.


Hello Roger, thank you for your answere. It doesnt work with a "blank" template, for example:

//+------------------------------------------------------------------+
//|                                                        test2.mq4 |
//|                      Copyright © 2009, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2009, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+

I've deleted also the mqlcache.dat in the expert-directory.


A restart has solved the problem for "this" time. But the problem occours on different computers with differenz operating systems "randomly". A reboot should not be the final solution ;)


Greetings

 
I see your solution is out of MQL programming. Try to reinstall MT to another directory. I really don't know how to help you this case.
 
Arakis:

Hello everyone,

first, please excuse me for my bad english.


I try to compile a simple indicator/EA, a blank script template from wizard. If i press on "compile", the program shows "Compiling 'test.mq4'..." and nothing happens, even after minutes. If i quit the editor, the program ask, if i want to stop the compiling.


This problem is on differences computers. And sometimes, it works....i dont know what is the problem. I'm using XP, Win2003 and Win7, in german language. Sometimes compiling works, and sometimes not.


Im Using the Version 4.225. All my computers have the latest service packs.


Greetings,

Sebastian


Are you using Windows Vista or 7?
 

Some software tools disables the compilation.

After using Process Monitor v2.7(http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx),

you can't compile. In this case,reboot is only solution.

 

Hello fai,

Yes, you're right, i've used that programm yesterday. I don't know that this could be the problem. But i've shutdown the programm, not nice that i have reboot the complete system.


Im Using xpsp3, win2003 and win7. I'll never use vista :P.


Greetings.

 

I am having the exact same problem! Did you have to totally remove MT4 to sort it?

 

Thanks 

 
Steakeater:

I am having the exact same problem! Did you have to totally remove MT4 to sort it?

Why are you asking a question in a 3 year old thread ?  do you expect an answer for any of these users ?
Reason: