automatically run 16bit programs by other software
opened this issue · comments
Hi
This is not a bug or issue with winevdm but I try to figure out how I can let other programs, that run compiled EXE files (like compiler), use winevdm to run the EXE.
So I installed open watcom, can compile a 16 bit windows EXE but open watcom doesn't run the EXE in winevdm. I can however run it using winevdm manually.
Is there a way I can configure winevdm so another program like open watcom runs the compiled EXE inside winevdm automatically?
This may or not be the answer, but you'll only use two minutes by trying.
The problem may be that watcom is trying run the EXE with Windows' cmd.exe. You may be able to fix that by downloading FileOpen.exe linked below (equivalent of the Windows Start command) to the same folder with otvdm and then editing otvdm.ini to include the line:
dosemu=FileOpen.exe
Link to FileOpen.exe:
EDIT: I got confused and thought that the exe was an old one I wrote in AutoIt. In fact, it's a C++ program written by Wengier Wu. Source code here (remove the .txt extension):
It works!!! Thanks a lot :)
I've revised the comment above to provide the actual source of FileOpen.exe.