tradeigel, thank you very much,
I suppose that the solution is this:
I suppose that the solution is this:
#import "shell32.dll"
int ShellExecuteA(int hWnd, int lpVerb, string lpFile, int lpParameters, string lpDirectory, int nCmdShow);
#import
void init() {
string path = "D:\\sample.html";
ShellExecuteA(0, 0, path, 0, "", SW_SHOW);
}
I have no experience with programming DLL, hare test Monday morning and I hope to have luck
Yours sincerely
yeah...although I don't think that SW_SHOW is declared already. I also would save the return value of ShellExecuteA() for error handling, just google for "ShellExeceute()" or visit msdn.com.
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
It is possible to run a batch file (.bat) from a program mql4 EA?
Thank you