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
  #51 (permalink)  
Old 04-06-2006, 02:41 PM
Junior Member
 
Join Date: Dec 2005
Posts: 17
tworkman is on a distinguished road
Quote:
Originally Posted by codersguru
tworkman,

Could you refresh my memory and tell me exactly what do you want?

Sorry, that request was for qwerty156 asking if he could send me the modifications he made to the source code I posted a while back. This is regarding the winsock functions.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #52 (permalink)  
Old 04-06-2006, 04:15 PM
Junior Member
 
Join Date: Apr 2006
Posts: 3
qwerty156 is on a distinguished road
Quote:
Originally Posted by tworkman
Please tell me more. Can you send me the modifications you made? I'd really like to know what we were missing. Thanks.
actually, i just tried it with VC++6 and it worked fine as is. Previously i had it open in VC++8 and it wouldn't work unless i made the following changes:
in sockipc.h, the line
extern char *sys_errlist[];
was replaced with
extern char **sys_errlist;

and then in netcomm.cpp, the lines:
#include "winsock.h"
#include "iostream.h"
need to be changed to
#include <winsock.h>
#include <iostream>

you also need the following after those includes:
using namespace std;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #53 (permalink)  
Old 04-10-2006, 11:13 AM
Junior Member
 
Join Date: Apr 2006
Posts: 3
qwerty156 is on a distinguished road
hey codersguru,

in your file functions DLL, the gFileRead function returns a pointer to a local buffer...
i think you need to make the buffer static so you're not returning a (potentially) dodgy pointer and then use critical sections to protect the buffer from multi-threading issues.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #54 (permalink)  
Old 04-24-2006, 10:02 PM
Junior Member
 
Join Date: Jan 2006
Posts: 25
charliev is on a distinguished road
Cool MS Visual C++ .DLL example project

Hello,

Is there an MS Visual C++ .DLL example project posted anywhere on this site?

I'd like to be able to successfully create a .DLL for MT4.

Thanks!
-charliev
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #55 (permalink)  
Old 04-25-2006, 12:31 AM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 986
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Quote:
Originally Posted by charliev
Hello,

Is there an MS Visual C++ .DLL example project posted anywhere on this site?

I'd like to be able to successfully create a .DLL for MT4.

Thanks!
-charliev
Hi charliev,

Please check this:
MT4 Files Functions Replacement.
You'll find a source code for a working dll!
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #56 (permalink)  
Old 04-26-2006, 01:44 AM
Junior Member
 
Join Date: Jan 2006
Posts: 25
charliev is on a distinguished road
Quote:
Originally Posted by codersguru
Hi charliev,

Please check this:
MT4 Files Functions Replacement.
You'll find a source code for a working dll!
Thanks Codersguru!

I'll check it out.

-charliev
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #57 (permalink)  
Old 05-05-2006, 07:15 PM
Junior Member
 
Join Date: Apr 2006
Posts: 7
Sonic is on a distinguished road
Quote:
Originally Posted by codersguru
Hi folks,

Any feedback please ?

hi codersguru another great work. been working on indicators outside MT4 and calling when needed like this i see complex systems could be developed great work again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #58 (permalink)  
Old 05-20-2006, 06:46 PM
Junior Member
 
Join Date: Dec 2005
Posts: 17
tworkman is on a distinguished road
Quote:
Originally Posted by qwerty156
hey codersguru,

in your file functions DLL, the gFileRead function returns a pointer to a local buffer...
i think you need to make the buffer static so you're not returning a (potentially) dodgy pointer and then use critical sections to protect the buffer from multi-threading issues.

qwerty156, I appreciate your feedback on this and effort to help me out. I had to shift gears and focus on some other work for a while, but now I'd really like to get back to this project. If you read my first post regarding these winsock questions, I admit that I am not a c++ programmer. I was able to solicit some help from a friend at first, and he came up with the source you have looked at. Unfortunately, he is no longer available.

Could you let me know if you are making any use out of this code, and possibly send me the compiled dll and any kind of sample of how you are using it? I have my own ideas, but would be interested in your thoughts.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #59 (permalink)  
Old 05-25-2006, 05:38 PM
Junior Member
 
Join Date: Dec 2005
Posts: 17
tworkman is on a distinguished road
Quote:
Originally Posted by codersguru
tworkman,

It's a very good idea. (Executing an external program & Winsock direct calling).


But do you think it'll be good to put those function in the File Handling dll?

Isn’t it better to make another dll(s)?


I think executing an external program fit the File Handling dll, I'll add it and tell you.


About the Winsock, which functions you want to use?


I think you need these functions:


send
connect
listen
recv

codersguru,
Are you still interested in developing either of these ideas - file run and/or winsock? As you can see from reading some of the latter posts, there has been some progress on the winsock sending side, but nothing so far on listening with winsock or running external files.

Please let me know what you think.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #60 (permalink)  
Old 07-06-2006, 10:03 AM
Member
 
Join Date: Oct 2005
Location: Netherlands
Posts: 75
michal is on a distinguished road
Hi, I'm trying to run netcomm. Does anybody has a sample of MQL haw to call it. I mean some example of netcomm.mqh and netcomm.mq4. Thanks.

Michal
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
mtguru1.dll, Awesome

Thread Tools
Display Modes

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 03:28 AM.



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