HX-DOS extender and TryEnterCriticalSection (DOSX)
I tried whether is possible to work with Win32 version of Freepascal under HX-DOS.
In versions 3.0.4 and 3.2.0rc1 all FPC-win32 refuse to run and they complain about missing import TryEnterCriticalSection and some also about FindFirstFileExW.
Even compiled "hello world" program complains about TryEnterCriticalSection.
But _suprisingly_ if I set the DPMILDR variable to 128 (SET DPMILDR=128) the situation changes.
Under FPC 3.0.4 the HELLO.EXE works and few other programs also work. Some absolutely without problems some write on the end error message "DPMILD32: Unresolved import called" but otherwise is it OK.
Even the compiler itself work eith the DPMILDR 128 normaly. (the command line only, not the IDE).
So, my question is: Is possible to implement into next release of HX-DOS the function TryEnterCritical section? And also FindFirstFileExW?
Maybe even the stubs could be OK.
And why am I examining this?
Because we still don't have a good DOS based FTP server working with LFNs.
And here is a chance that it could be done in FPC-Win32 application running under HXDOS.
---
DOS-u-akbar!
Complete thread:
- HX-DOS extender and TryEnterCriticalSection - Laaca, 06.06.2020, 09:34
- HX-DOS extender and TryEnterCriticalSection - Japheth, 06.06.2020, 19:20
- HX-DOS extender and TryEnterCriticalSection - Japheth, 09.06.2020, 16:25
- HX-DOS extender and TryEnterCriticalSection - Laaca, 10.06.2020, 10:58
- HX-DOS extender and TryEnterCriticalSection - Laaca, 10.06.2020, 18:29
- MASM v6 scoping for labels - Rugxulo, 11.06.2020, 18:40
- HX-DOS extender and TryEnterCriticalSection - Laaca, 10.06.2020, 10:58
- HX-DOS extender and TryEnterCriticalSection - Japheth, 09.06.2020, 16:25
- HX-DOS extender and TryEnterCriticalSection - Japheth, 06.06.2020, 19:20