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.
I have tried the simplest dll generated from
Public Class CCA24R
Public Shared Function Five() As Integer
Return 5
End Function
End Class
in VS 2008
called as
extern int xx;
#import "Trades.dll"
int Five();
#import
.
.
xx = Five();
And all that seems to happen is execution fails at the call.
Am I missing something or ?
I am new to MQL4 but not new to programming.
Thanks!