|
|||||||
| 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 |
|
|||
|
dll import problems
Hi guys,
I see you by your words you're very good with these things and I hope you can give me a hand with my dll import problem. I did exactly as codersguru explained with the filehandler dll. I have the .ex4 file in the indicators directory. In the .ex4 there's an include to a file(.mqh) in the include directory which has an #import statement within to a dll in the libraries directory. Dll is loaded but as soon as i drag the indicator in the chart I read in the expert tab of strategy builder: cannot call function functionname from dll ' dllname.dll' I tested the dll from an .exe and all the function are running but within the .ex4 i can't find a way.I'm sure I'm missing something but I really don't know what. what could it be? Thank you |
|
||||
|
Quote:
If you enbabled "Allow DLL Import" option and still getting the message "cannot call function functionname from dll dllname.dll" it means there's something wrong in dll code. Could I see the source code of the dll? |
|
||||
|
Quote:
The problem is Visual basic dosen't create a standard dll. Please review this article: http://www.vb-helper.com/howto_make_standard_dll.html I've made the dll for you and I'll send it to your email now (I didn't test it yet in MQL4, please test it and tell me the result). |
|
|||
|
Quote:
anyway, I didn't receive your email. I guess mail server blocks that kind of attachment. try to zip and resend. thank you again |
|
||||
|
Quote:
|
![]() |
| 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 01:29 PM |
| MT4编程学习教程! - MT4系统交易 - 外汇牛人邦 飞狐免费外汇行情接收!飞狐外汇接口! - Powered by Discuz! | This thread | Refback | 01-11-2008 05:45 PM |
| Mql - Metatrader Development Course | This thread | Refback | 07-19-2007 02:50 AM |
| File functions - Part 1 | www.metatrader.info | This thread | Refback | 06-21-2007 06:21 PM |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File Functions | intelligent_14 | Questions | 6 | 07-11-2006 08:37 PM |
| Unusual Functions | intelligent_14 | Questions | 3 | 06-23-2006 11:20 PM |
| Appendix 2 - Trading functions | codersguru | Lessons | 8 | 12-26-2005 01:46 PM |
| Lesson 7 - Functions | codersguru | Lessons | 2 | 11-02-2005 03:32 PM |