MQL4 installed in the disk C is necessary?

 

1. As title, did MQL4 installe in the disk C:\ is necessary ?

2. I copy my EA in C:\Program Files (x86)\MetaTrader 4 - RoboForex\MQL4\Experts
and copy library in C:\Program Files (x86)\MetaTrader 4 - RoboForex\MQL4\Libraries
but after compiled EA, all functions I created in own library got the error massage as fig.1, how to fix it?

Fig.1

Fig .1

 

To begin with, try using this folder instead.


 

Dear ubzen :

I tried the step what you said, but it didn't work ....


In addition, I also tried the suggestion as follow reference,

Fig.2

but I can't see floder naming with "Instance_id" 3

Dose another solution I can try?

 
jimyang:

Dear ubzen :

I tried the step what you said, but it didn't work ....


In addition, I also tried the suggestion as follow reference,


but I can't see floder naming with "Instance_id"

Dose another solution I can try?

Yeah, you can try using the /Portable switch.

https://www.mql5.com/en/forum/149271/page17#904658.

 

Hello ubzen :

I key in <space> /Portable command after Target, and recomplied my EA,the error message still exist .

4

What can I do?

 
jimyang: I key in <space> /Portable command after Target, and recomplied my EA,the error message still exist .
Did you exit the terminal and restart it using the shortcut, before recompiling?
 
WHRoeder:
Did you exit the terminal and restart it using the shortcut, before recompiling?

Yes, I did.

But it still does't work .

I already study most of the reference in forum about old EA couldn't be compiling .

Dose someone know other way to slove this problem?

 
jimyang:

Yes, I did.

But it still does't work .

I already study most of the reference in forum about old EA couldn't be compiling .

Dose someone know other way to slove this problem?

Please tell us the folder that you see when you click File > Open Data Folder ?
 
RaptorUK:
Please tell us the folder that you see when you click File > Open Data Folder ?

The path I click from File > Open Data Folder as below

5

 
jimyang:

Hello ubzen :

I key in <space> /Portable command after Target, and recomplied my EA,the error message still exist .

What can I do?

The good switch is /portable, not /Portable.
 
jimyang:

The path I click from File > Open Data Folder as below

OK, it looks like you are using the correct folder structure.