I'm trying a simple DLL extension loading example from:
My MT code is the following:
#import "Metatrader Test.dll"
void Hello(string say);
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?
Seems I didn't have DLL loading enabled and didn't see the message in the experts window. My bad.