-
Notifications
You must be signed in to change notification settings - Fork 127
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
No prompt shown #32
Comments
Log for 0.4.9
Log for 1.1.8
I think the problem is 1388 hook_setter::add_detour 123 Unable to find ReadConsoleW in kernelbase.dll. |
ups, clicked Close instead of comment. |
Thank you for the logs! Yes, the problem is the failure to find ReadConsoleW in kernelbase.dll. This looks like a Windows 7 compatibility issue in Clink. |
I think, for the very little experience that I have, that ReadConsoleW does not exist in kernelbase.dll on win7 (at least on my machine) I opened kernel32.dll with an hex editor and looked for the string ReadConsoleW and found it but doing so in kernelbase.dll gives no result. I just checked downloading from here https://www.dll-files.com/kernelbase.dll.html the kernelbase.dll of win10 and the string ReadConsoleW is present in the dll. So microsoft moved some functions from kernel32 to kernelbase I suppose. |
Thanks for saving me time by researching it for me! Can you try v1.1.10? I've made Clink try to hook ReadConsoleW in whichever of kernelbase.dll and kernel32.dll contain it (either or both). It's working on Win10 still, and I temporarily made some changes to emulate some aspects of if it were to run on Win7 and I think it will work on Win7 now. |
It works:
|
Excellent. Thank you for the fast confirmation! |
Working wonderfully. Thanks you for fast fixing @chrisant996. |
Hi,
first thanks for picking up this project and make updates to it.
I've been using clink 0.4.9 for a while and wanted to try this new version.
But it seems to not work as intended on my machine.
and the new version simply doesn't show any prompt or even provide tab completion
I saw the
clink.promptfilter
in the docs and tried setting if to False but nothing changed. What am I missing?p.s: I'm on Win7 [Version 6.1.7601]
p.s.2 It's related to #31 since I experienced it at the same way and than tried to investigate if it was a 'scoop' problem, or a 'conemu' problem, so I tried running clink clean in cmd and the same thing happended.
The text was updated successfully, but these errors were encountered: