Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Tools and utilities


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

Reply
 
LinkBack (4) Thread Tools Display Modes
  #71 (permalink)  
Old 01-08-2007, 09:46 PM
Member
 
Join Date: Dec 2006
Posts: 86
dwmcqueen is on a distinguished road
I ported this code to use libcurl and I think I got it to work.

Tom - have you checked whether it is complete?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #72 (permalink)  
Old 01-14-2007, 09:53 PM
fxmozart's Avatar
Junior Member
 
Join Date: Aug 2006
Posts: 4
fxmozart is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #73 (permalink)  
Old 06-27-2007, 07:44 AM
Senior Member
 
Join Date: Feb 2007
Posts: 947
FerruFx is on a distinguished road
Question 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #74 (permalink)  
Old 07-09-2007, 10:59 PM
Member
 
Join Date: Jan 2007
Posts: 20
gm6510 is on a distinguished road
how can i convert my indicator to DLL???

hi all
any one know how can i convert my indicator to DLL extension??????
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #75 (permalink)  
Old 07-10-2007, 10:52 AM
Administrator
 
Join Date: Sep 2005
Posts: 16,794
Blog Entries: 144
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Just for information:
we have this thread Create your own MetaTrader extension (dll)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #76 (permalink)  
Old 07-10-2007, 01:29 PM
Member
 
Join Date: Jan 2007
Posts: 20
gm6510 is on a distinguished road
yes i see it
but it is not for indicators
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #77 (permalink)  
Old 07-17-2007, 04:46 AM
Member
 
Join Date: Dec 2005
Posts: 50
Stevensign is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #78 (permalink)  
Old 12-03-2007, 06:17 PM
Member
 
Join Date: Mar 2006
Posts: 47
derikb is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #79 (permalink)  
Old 12-30-2007, 12:30 PM
Member
 
Join Date: Jan 2006
Posts: 30
DooMGuarD is on a distinguished road
Question Delphi and MQL4

hy all

how i make a delphi code for use in MQL4... like DLL access...

anbody have a sample?

regards

charles
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #80 (permalink)  
Old 12-30-2007, 12:56 PM
Administrator
 
Join Date: Sep 2005
Posts: 16,794
Blog Entries: 144
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Some other threads related to this subject:

Create your own MetaTrader extension (dll)

.Net DLL wrapper

dll tutorial for Visual Studio 2005
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
mtguru1.dll, Awesome


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

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


All times are GMT. The time now is 12:48 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.