Download MetaTrader 5

WindowScreenShot() Problem In Win Server 2003 & 2008

To add comments, please log in or register
Reza Mehrabani
171
Reza Mehrabani  

Hi,

I am trying using WindowScreenShot() in one my EA that running on my VPS. I am using with this format:

WindowScreenShot("auto.gif",550,300);

It takes black screenshots from chart. I tried this function on VPS with win server 2003 & 2008 and for both same results.

When run EA on my PC(Win 8.1) it takes correct screenshots and only problem on my VPS.

Any idea why it takes black chart?

Regards,

Halley
198
Halley  
Pouya:

Hi,

I am trying using WindowScreenShot() in one my EA that running on my VPS. I am using with this format:

WindowScreenShot("auto.gif",550,300);

It takes black screenshots from chart. I tried this function on VPS with win server 2003 & 2008 and for both same results.

When run EA on my PC(Win 8.1) it takes correct screenshots and only problem on my VPS.

Any idea why it takes black chart?

Regards,


Not quite sure but it may use the Windows screen driver to render the chart. There is not any if the remote desktop gets disconnected.
To add comments, please log in or register