MQL4, I cannot load #import "user32.dll", error msg -- Cannot call 'user32.dll::RegisterWindowMessageW', 'user32.dll' is not loaded
Since Build 600 and Higher (17.02.2014):
- MT4 has been 64 bit.
- that was only used in off-line generators. No longer used in the Period Convertor.
- the format of history has changed.
MT4 is 32 bits application, and has always been.
MT4 was never 64 bit
zeeye:
#import "user32.dll"
int RegisterWindowMessageW(string MessageName);
int PostMessageW(int hwnd,int msg,int wparam,uchar &Name[]);
got error message:
2019.05.18 12:30:16.944 2019.01.01 00:00:00 Cannot call 'user32.dll::RegisterWindowMessageW', 'user32.dll' is not loaded
Menu: Tools->Options->Expert Advisors->Allow DLL imports has Cheched
but I cannot find user32.dll in the folder: Terminal\DA3C92B1779898CC0CACD726A655BECB\MQL4\Libraries
thanks for your help
No problem with it (if you enabled dll imports in the indicator/expert/script options)
PS: your PostMessageW() prototype is wrong
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
got error message:
2019.05.18 12:30:16.944 2019.01.01 00:00:00 Cannot call 'user32.dll::RegisterWindowMessageW', 'user32.dll' is not loaded
Menu: Tools->Options->Expert Advisors->Allow DLL imports has Cheched
but I cannot find user32.dll in the folder: Terminal\DA3C92B1779898CC0CACD726A655BECB\MQL4\Libraries
thanks for your help