
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
Can also inject dll's into MT4 process space.
-Change a few ressources , add menu's , buttons etc , and have the dll's loaded dynamically.
Injecting dll's :
Can do it :
-Changing the PE headers (insert a new dll loading) .
-Inject in process space. (INJLIB.).
-Use Microsoft's Detour API..(Adding a detour , jumping back to it after your own called function is done...Use LoadLibraryEx right inside your detour is feasable too..) :
Basically in ASM :
Call function(x) (This is the function you will be detouring).
Function x(){
jmp MyDetour}
Function Mydetour {
_asm{pushad}//This are look at registers , you NEED to save them , to return them to exact same when you return...Microsoft Detour library makes this easy..
Insert function here
_asm (popad}
}
Easier to read this tutorial: http://www.codeproject.com/dll/DLL_Injection_tutorial.asp
From there, could add custom resources to MT4, add SQL functions, Excel, and many more things , just adding DLL's and loading them.
Let me know how it goes , ready to help..(But not do all the work..) , and yes I know quite a bit in this field..(C++,ASM, .C#) .
Need help for .dll issue
Hi all,
Can someone help me about an issue i have on creating a dll for metatrader?
I use code::Blocks or DevC++. Both create my dll without error but in metatrader i have the error: cannot call function 'Test' from dll 'ExpertSample.dll' (error 127)
All the settings are ok, dll allowed, dll in libraries folder ...
I guess that the problem is the parameters settings of my project or ide before compiling in my IDE.
If someone has an idea about this
Thanks a lot,
FerruFx
how can i convert my indicator to DLL???
hi all
any one know how can i convert my indicator to DLL extension??????
Just for information:
we have this thread https://www.mql5.com/en/forum/172885
yes i see it
but it is not for indicators
mtguru1.dll question
I use the following MT4 commands:
handle=FileOpen(file, FILE_BIN|FILE_READ);
FileReadString
FileReadDouble
FileIsEnding
Can the dll execute similar functions?
Can the gFileRead do these?
Or is there a better way using kernel32.dll?
I'm not familiar with C++ or dlls, just MT4 code.
Sharpdevelop
Hi,
For those that don't have C#, C++ or VB.net. Download a free open source version here:
SourceForge.net: SharpDevelop
The open source project can be found here:
SharpDevelop @ic#code
You'll love it.
Best regards
Derik
Delphi and MQL4
hy all
how i make a delphi code for use in MQL4... like DLL access...
anbody have a sample?
regards
charles
Some other threads related to this subject:
https://www.mql5.com/en/forum/172885
https://www.mql5.com/en/forum/176134
https://www.mql5.com/en/forum/175924
And I updated this small thread https://www.mql5.com/en/forum/174329 with more functions.