-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take Command/16 doesn't run with otvdmw.exe #1445
Comments
It looks like the program is supposed to redirect stdout to it's own drawing routine but in winevdm it's going to the console instead.
Oddly it works correctly with winevdm in 32bit xp and 32bit win7. |
#1446 fixes the console on Windows 11. Wine says VerifyConsoleIoHandle was disabled on Windows 8 but might not work on Windows 7 SP1 too. It doesn't fix the problem with otvdmw.exe, that lacks a console will need a workaround. |
and when I type |
Well, I don't have a 64bit win7 vm and it does work in 32bit win7sp1 (it does crash on exit but win11 doesn't) so I need a new trace. |
if stderr is redirected, it properly redirects output to its own window.
|
maybe allocating a hidden console window for this? |
Try running with just WINEDEBUG=+int21 and don't redirect stderr. The INT21_Ioctl_Char calls should be visible in the console backbuffer. |
I typed "exit[Enter]" in its main window, then otvdm crashed. |
Well, INT21_Ioctl_Char for handle 1 only is returning 0x80c0 which means GetConsoleHandle is failing for just that. See https://github.com/otya128/winevdm/blob/master/krnl386/int21.c#L2813 |
Try the latest version first.
Go here and click
Environment: THIS_BUILD_IS_RECOMMENDED__VCXPROJ_BUILD=1
->Artifacts 1
->zip
to download the latest version.Describe the bug
when I use otvdmw.exe to start TCMD.EXE, Take Command/16's main window shows and ends instantly.
with otvdm.exe, it starts, but its output goes to console window but not in its own window.
Expected behavior
![image](https://private-user-images.githubusercontent.com/1192577/367506765-305913d4-8b04-483e-bd1d-0c9b31f29c33.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzE3NzUsIm5iZiI6MTczOTYzMTQ3NSwicGF0aCI6Ii8xMTkyNTc3LzM2NzUwNjc2NS0zMDU5MTNkNC04YjA0LTQ4M2UtYmQxZC0wYzliMzFmMjljMzMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTQ1NzU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDFiYWEwZTc2ZDU4Y2ZhODFhYTFmMDA3YzEyOWRiMTdhZWQ1MDU2OTkwNGEyYTBjMzIwNmJlZDM4Y2MxNDhjMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ._qe5ZPwU0o3j8l_BxqDmg9jFUzCiUtr5Y77v87xqU1U)
it should work by typing in its main window and it can output results in its main window as well:
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
TCMD202.ZIP can be downloaded here fro testing: https://www.retro-computing.com/Archives/downloadfile.php?fn=Archives/Win31/Files/TCMD202.ZIP&archivename=Win31&fnsize=707.0%20KB
It is very helpful to provide a trace file if possible.
Please note that this file contains detailed information about the program.
Procedure
trace.txt
The text was updated successfully, but these errors were encountered: