| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack (4) | Thread Tools | Display Modes |
|
||||
|
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_I...n_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#) . Last edited by fxmozart; 01-14-2007 at 10:12 PM. |
|
|||
|
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 |
|
|||
|
Just for information:
we have this thread Create your own MetaTrader extension (dll) |
|
|||
|
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 |
|
|||
|
Some other threads related to this subject:
Create your own MetaTrader extension (dll) .Net DLL wrapper dll tutorial for Visual Studio 2005 |
![]() |
| Bookmarks |
| Tags |
| mtguru1.dll, Awesome |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/tools-utilities/386-mt4-files-functions-replacement.html
|
||||
| Posted By | For | Type | Date | |
| File functions - Part 1 | This thread | Refback | 03-05-2008 02:29 PM | |
| MT4±à³Ìѧϰ½Ì³Ì! - MT4ϵͳ½»Ò× - Íâ»ãÅ£È衔 ჼüÃâ·ÑÍâ»ãÐÐÇé½ÓÊÕ!·ÉºüÍâ»ã½Ó¿Ú! - Powered by Discuz! | This thread | Refback | 01-11-2008 06:45 PM | |
| Mql - Metatrader Development Course | This thread | Refback | 07-19-2007 03:50 AM | |
| File functions - Part 1 | www.metatrader.info | This thread | Refback | 06-21-2007 07:21 PM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File Functions | intelligent_14 | Questions | 6 | 07-11-2006 09:37 PM |
| Unusual Functions | intelligent_14 | Questions | 3 | 06-24-2006 12:20 AM |
| Appendix 2 - Trading functions | codersguru | Lessons | 8 | 12-26-2005 02:46 PM |
| Lesson 7 - Functions | codersguru | Lessons | 2 | 11-02-2005 04:32 PM |