Problem #import'ing a DLL Extension

 

Hello,

I'm trying a simple DLL extension loading example from:

http://www.metatrader.info/node/150

My MT code is the following:

    #import "Metatrader Test.dll"
    void Hello(string say);
    #import

When I try and run my script, I get "initalization of Metatrader DLL Test (EURUDS,H1) failed".  
Is there any way to get a bit more information out of MT as to what exactly did fail?  The DLL 
I created is almost exactly the same as the above example except for the name, which is
"Metatrader Test.dll".  Could the spaces in the filename be causing problems?

Also, when #import'ing a DLL, is there a specific directory that they must be placed in?

--
Burton Samograd
http:://kruhft.dyndns.org

 

Seems I didn't have DLL loading enabled and didn't see the message in the experts window.  My bad.

--

Burton Samograd

http://kruhft.dyndns.org

Reason: