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
I don't think so. You can't push megabytes of information through OBJ_TEXT.
the closest candidate is resources
Note: a point is actually a structure packed with variables of different types. It is saved when you close/open the terminal and also saved in a template.
Note: a point is actually a structure packed with variables of different types. It is saved when you close/open the terminal and is also saved in the template.
I keep asking, have you found a solution for DLL 32/64 yet?
There's some kind of WOW32reg.exe in the system (\System32\). I went around and around, it doesn't respond to -h -?, I couldn't register anything blindly.
Google is silent too, I couldn't find anything on microsoft.com... so it's pretty cool.
?
What's not clear? Give me a concrete task, but it's all a roundabout way...?
I keep asking, have you found a solution for DLL 32/64 yet?
There's some kind of WOW32reg.exe in the system (\System32\). I went around and around, it doesn't respond to -h -?, I couldn't register anything blindly.
Google is silent too, I couldn't find anything on microsoft.com... in general, it's acute.
So, just an idea, I haven't tried it myself. After detecting the bit depth of the terminal, use LoadLibrary to dynamically load the DLL.
I keep asking, have you already found a solution for DLL 32/64 ?
What's the problem here?
In import you specify two identical functions, only with different parameters (int/long). In the program, depending on the 32/64 bit, you call the corresponding function.
I keep asking, have you already found a solution for DLL 32/64 ?
Thanks to context :: everything is solved neatly.
In import you specify two identical functions, only with different parameters (int/long). In the program, depending on the 32/64 bit, you call the corresponding function.
E.g. like this:
in a code you call with explicit :: context.::MemRead(...)
That is, we don't multiply function names, but make autodetection of bit rate and call the correct imported one.
I keep wondering, have you already found a solution for 32/64 DLL?
The easiest way is to put x32 and x64 DLLs of the same name into different Windows system directories - SysWOW64 and System32, respectively.
But inter-program data exchange is really a problem, especially if you address it haphazardly.
So probably reasoned and Microsoft, when in the nineties of last century, went from a file, stream exchange for object - OLE from it to ActiveX -> COM -> COM + -> .NET, ie based on a technology of inter-program exchange have created a new system of programming and code execution.
What's the problem here?
In import you specify two identical functions, only with different parameters (int/long). In the program, you call the appropriate function depending on the bit size of 32/64.
It doesn't want to load the 32-bit one at all, and it doesn't want to run the program even if I'm not going to call it (the dll) already.
If"Allow use of DLL" is unchecked, [OK] button is not displayed at all, only canceled. Allow, click OK - the program crashes. Deadlock.
Ideally, I would like to be able to call dll32 in the x64 terminal. I know for sure that it is theoretically possible, but I don't know how.
It doesn't want to load the 32-bit one at all, and it doesn't want to run the program even if I'm not going to call it (dll) anymore.
When"Allow dll" is unchecked, [OK] button is not displayed at all, only cancel. Allow, click OK - the program crashes. Deadlock.
Ideally, I would like to be able to call dll32 in the x64 terminal. I know for sure that it is theoretically possible, but I don't know how.
2013.12.19 18:49:01.436 do (EURUSD,H1) Cannot load 'E:\MT5_REV1\Client\MetaTrader5Terminal\Final\MQL5\Libraries\test.dll'
2013.12.19 18:48:58.929 do 'E:\MT5_REV1\Client\MetaTrader5Terminal\Final\MQL5\Libraries\test.dll' is not 64-bit version
Now we call function of such library:
2013.12.19 18:51:07.446 do (EURUSD,H1) Cannot call 'fnCrashTest', 'test.dll' is not loaded
2013.12.19 18:51:07.445 do (EURUSD,H1) Cannot load 'E:\MT5_REV1\Client\MetaTrader5Terminal\Final\MQL5\Libraries\test.dll'
2013.12.19 18:51:05.107 do 'E:\MT5_REV1\Client\MetaTrader5Terminal\Final\MQL5\Libraries\test.dll' is not 64-bit version