Forum

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

FileOpen Problem

Hello, I am just getting started with MT5 and I'm trying the simple script: void OnStart() { int handle = FileOpen("Z:\\test.dat", FILE_WRITE ); Alert(GetLastError()); FileClose(handle); } Nothing special, just trying to create a file on my Z: drive. The Alter is there because the file is never