- I created a C# DLL that has a class called `Utils` and a method `public static int GetNumber(string number);` that parses string to int. - The DLL name is Parser.dll and it is in MQL4 libraries folder. - In MQL4 I just do
#import "Parser.dll"
int GetNumber (string);
#import
And then on the OnInit call this function with `GetNumber("1");`
But i have these errors: - Cannot find ' GetNumber' in ' Parser.dll' - Unresolved import function call
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi everyone!
Hope you guys are fine.
To summary,
- I created a C# DLL that has a class called `Utils` and a method `public static int GetNumber(string number);` that parses string to int.
- The DLL name is Parser.dll and it is in MQL4 libraries folder.
- In MQL4 I just do
#import "Parser.dll"
int GetNumber (string);
#import
And then on the OnInit call this function with `GetNumber ("1");`
But i have these errors:
- Cannot find ' GetNumber ' in ' Parser.dll'
- Unresolved import function call
Can someone help me please?
Thanks in advance!