| 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 |
|
|||
|
Quote:
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. |
|
|||
|
Quote:
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; |
|
|||
|
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. |
|
||||
|
Quote:
Please check this: MT4 Files Functions Replacement. You'll find a source code for a working dll! |
|
|||
|
Quote:
I'll check it out. -charliev |
|
|||
|
Quote:
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. |
|
|||
|
Quote:
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. |
|
|||
|
Quote:
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. |
![]() |
| Bookmarks |
| Tags |
| mtguru1.dll, Awesome |
| Thread Tools | |
| Display Modes | |
|
|
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 |