bool__stdcallmlxInputChar(char *CharArray){//100% ready. Function of passing command/function/text to desktop/* ** Check if virtual machine and string are present */
----> // Original with Bug -> if((pEng == NULL)&&(strlen(CharArray)<1)) return false; <---if((pEng == NULL) || (strlen(CharArray)<1))returnfalse;
/* ** Enter formula into MATLAB desktop */engEvalString((Engine *)pEng, CharArray);
returntrue;
}
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 found a little bug in UnitDll.cpp
Its better to check with OR and not AND
So you cant send a command to a closed Engine