Dll, errors, bool in mul and sum