post-factum
/ukraine/kyiv, 08.08.2011, 18:45 |
HX, FPC and TryEnterCriticalSection (DOSX) |
With the last FPC v2.4.4 it's not possible to run WIN32 binaries using HX. It reports:
dpmild32: import not found: TryEnterCriticalSection
dpmild32: file kernel32.dll
Could it be fixed? --- % uname -a
Linux eternity 3.0.1-pf #1 SMP PREEMPT Fri Aug 5 21:45:05 EEST 2011 i686 Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz GenuineIntel GNU/Linux |
Japheth
Germany (South), 09.08.2011, 16:02
@ post-factum
|
HX, FPC and TryEnterCriticalSection |
> With the last FPC v2.4.4 it's not possible to run WIN32 binaries using HX.
> It reports:
>
> dpmild32: import not found: TryEnterCriticalSection
> dpmild32: file kernel32.dll
>
> Could it be fixed?
FPC? Doesn't that mean FreePascal? AFAIK this tool has a native DOS version, so HX is of little use here.
Anyway, I don't want to modify any sources of the scheduled HX v2.17. --- MS-DOS forever! |
post-factum
/ukraine/kyiv, 09.08.2011, 16:09
@ Japheth
|
HX, FPC and TryEnterCriticalSection |
Yes, Free Pascal. I need win32 to run under HX to get multithreading and dlls. But anyway I've fixed it myself by copying EnterCriticalSection and replacing INFINITE with 0.
> FPC? Doesn't that mean FreePascal? AFAIK this tool has a native DOS
> version, so HX is of little use here.
>
> Anyway, I don't want to modify any sources of the scheduled HX v2.17. --- % uname -a
Linux eternity 3.0.1-pf #1 SMP PREEMPT Fri Aug 5 21:45:05 EEST 2011 i686 Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz GenuineIntel GNU/Linux |
marcov
17.08.2011, 19:28
@ post-factum
|
HX, FPC and TryEnterCriticalSection |
> Yes, Free Pascal. I need win32 to run under HX to get multithreading and
> dlls. But anyway I've fixed it myself by copying EnterCriticalSection and
> replacing INFINITE with 0.
Afaik there is an ifdef in the sources to go back to win9x compatibility.
At least there is in -trunk. |