First post, by mcs
I have recently upgraded my PCB CAD software, and the latest (= last DOS) version includes a PE (windows) executable. So I can't run it in an OS/2 DOS window anymore...
The PE part can be handled with the HX DOS extender (http://www.japheth.de/HX.html), but the OS/2 DPMI host doesn't like DOS programmes that run PE executables...
DOSBox was suggested as a possible solution, and I do get most of the way. After starting DOSBox and mounting the drives, I run the commands hdpmi16 -r and hdpmi32 -r to support 16 bit and 32 bit DPMI apps.
I first tried using the "automatic" PE-loader HXLdr32, but that just results in the error "Loader error (0025): cannot initialize"
For the next test I converted the PE exe using pestub (from the HX package). This seems to work better.The programme starts to load, but I get this error instead: dpmild32: E:\LAYO1\LAYO1P\LAYO1PCB.EXE: out of memory
layo1pcb.exe is the PE exe, and dpmild32 is the PE loader.
Any ideas why dpmild32 runs out of memory? Changing the standard 16MB memory setting to 64MB doesn't change it.
My DOSBox version is 0.72, and I run it on OS/2.
Running other parts of the app (that don't need the PE part) work. The app switches between 80x25 text and 800x600 VESA, and that works fine. All three mouse buttons also work.
Best regards,
Mikkel C. Simonsen