View Single Post
  #13 (permalink)  
Old 11-26-2005, 01:23 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 986
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow There's something wrong in dll code.

Quote:
Originally Posted by gnrslash
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
gnrslash,

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?
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Reply With Quote