Open maxkleiner opened 8 months ago
The same goes with Win7 to start:
Win8.1 works!
faced the same issue on Ubuntu 18.10. and Kali Linux I had to de-install & re-install package winbind
sudo apt-get remove winbind && sudo apt-get install winbind
and this error went out... (another one remains, but that's probably another issue :
So I decided to check (Resxplor resxplor.exe compile with and without TSynedit component) another small app with TSynedit on it and we got the same errorcode and also by PyScripter we got an hint that it depends on a page fault:
Pyscripter uses also TSynEdit
https://stackoverflow.com/questions/43256043/returning-error-code-in-linux-kernel?rq=2 I was trying to understand how Linux system calls return error codes. I bumped into times() system call. This simple system call copies some data to user space and if that operation was not successful returns -EFAULT:
SYSCALL_DEFINE1(times, struct tms __user *, tbuf) { if (tbuf) { struct tms tmp;
do_sys_times(&tmp);
if (copy_to_user(tbuf, &tmp, sizeof(struct tms)))
return -EFAULT;
}
force_successful_syscall_return();
return (long) jiffies_64_to_clock_t(get_jiffies_64());
}
Then I turned strace on but with no solutions I can see
IMHO, a missing API function that doesn't exist in a emulated host environment (Wine) is not an excuse to put such a fix you mention inside the program's code. mX5 is written for Windows and it works excellent there. the mX5 alphaversion based on D10.4 with SynEdit GDI works fine with Wine. Since a workaround is found for Wine and D11.3 SynEdit Dircect Write, I guess that's all it matters.
Update for V 5.0.2.40
Another Test in Win7 64bit also DirectDraw
EOSerror SystemError code -2003283966
https://softwareschulecode.files.wordpress.com/2023/11/mintlinux2023-11-24.png?w=1800&h=
I tried the dbg debugger and fixed access violations in RAD Studio 11.3 Alexandria