Download MetaTrader 5
To add comments, please log in or register
Post web links to other trader's signals and make profit
Daniel Thouvignon
38
Daniel Thouvignon 2012.02.09 18:09 

Hello everybody,

Using ShellExecuteW makes the program crash now (version 586).

Here is a example (script that worked well on previous versions):

#import "shell32.dll"
int ShellExecuteW(int hWnd,int lpVerb,string lpFile,string lpParameters,string lpDirectory,int nCmdShow);
#import

void OnStart()

  { ShellExecuteW(0,0,"Notepad.exe","","",1);}


Thank you in advance

Daniel

Daniel Thouvignon
38
Daniel Thouvignon 2012.02.09 18:16  

I forgot to mention that I use Vista 32 bits

/
To add comments, please log in or register