Baron-von-Riedesel / HX

Home of the HX DOS Extender and its included DPMI-host HDPMI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Included setmzhdr does not work on Windows

Ringdingcoder opened this issue · comments

The setmzhdr utility that is used for producing hdpmi16.bin fails with "setmzhdr: write error" when run on Windows XP. The same does not happen with the DOS-based version of this tool that’s included in HXSRC217.zip.

just tried in Win XP SP3, got no errors ( "nmake -f hdpmi16s.mak" ).
I modified setmzhdr.asm, so it will display errno now if a read or write error occurs.

It says "write error [0]" 😉

Ok, I see my confusion now. I linked against libc32s.lib from HX 2.17. It works with the one from HX 2.19.

I linked against libc32s.lib from HX 2.17.

Or rather, against the entire LIB directory from HX 2.17. I had my LIB environment variable pointed there. So it might have been caused by any one of the binaries in there.