拦截和将密钥信号转换为C++或任何其他语言

发布于 2025-01-29 04:30:20 字数 106 浏览 6 评论 0原文

我想在特定的应用程序中拦截俄罗斯钥匙,然后发送其他内容。我真的不知道实现它所需的步骤。

有没有一种方法可以在C ++中编写一个捕获密钥按下并将不同的应用程序发送到特定程序,流程的方法?

I want to intercept Russian keys in a specific application and send it something else. I don't really know the steps required to achieve it.

Is there a way to write an app in C++ that captures key presses and sends different ones to a specific program, process?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

桃酥萝莉 2025-02-05 04:30:20

想我必须自己找到答案,所以我已经鸭子了并找到了这个: c ++键盘钩

我 就像我必须在一个过程中注入DLL并调用SetWindowShookexa函数,据说应该拦截和转换发送到该过程的关键事件。

I guess I had to find the answer myself so I've duckduckgoed and found this: C++ KeyBoard hook

Seems like I have to inject a DLL in a process and call SetWindowsHookExA function that supposedly ought to intercept and transform key events that are sent to the process.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文