markog wrote >>
I'm trying to check AcountName in external DLL:
I have no problem with AccountNumber:
MT4_EXPFUNC int __stdcall Test( int MyAccountNumber )
{
if( MyAccountNumber == 12345 ) { return(1) ; }
else { return(0); }
}
But how can I do the same with AccountName?
MT4_EXPFUNC int __stdcall Test( ??? MyAccountName )
{
if( MyAccountName == "Test" ) { return(1) ; }
else { return(0); }
}
There are some problems with ASCII, UNICODE...
Can anyone help, please?
you was trying with widestring?
I'm trying to check AcountName in external DLL:
I have no problem with AccountNumber:
MT4_EXPFUNC int __stdcall Test( int MyAccountNumber )
{
if( MyAccountNumber == 12345 ) { return(1) ; }
else { return(0); }
}
But how can I do the same with AccountName?
MT4_EXPFUNC int __stdcall Test( ??? MyAccountName )
{
if( MyAccountName == "Test" ) { return(1) ; }
else { return(0); }
}
There are some problems with ASCII, UNICODE...
Can anyone help, please?