Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

HX-DOS extender and TryEnterCriticalSection (DOSX)

posted by Laaca Homepage, Czech republic, 06.06.2020, 09:34

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:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 80 users online (0 registered, 80 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum