Delphi到C ++的转换 [英] Delphi to C++ conversion

查看:160
本文介绍了Delphi到C ++的转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此处 Delphi:如何创建系统范围的Windows挂钩 [ ^ ]是一个很好的文章,用于键盘钩子适用于32位Windows的Delphi



由于Borland已停止Delphi,我希望用C ++(最好使用MS Visual Studio)为64位Windows操作系统创建一个Keyboard Hook应用程序



有人可以在VC ++中转换上面的Delphi文章吗?



我想,它需要两个项目,一个用户界面.exe用于运行基于表单的应用程序和其他.dll用于实际挂钩键盘全球



我尝试了什么:



我尝试搜索各种在线示例,但它们仍然是仅32位。此外,它不使用内存映射文件概念,如上面的Delphi文章。

Here Delphi: How to create a system wide windows hook[^] is a nice article for Keyboard hook in Delphi for 32 bit Windows

Since Borland has stopped Delp I wish to create a Keyboard Hook application in C++ (preferably using MS Visual Studio) for 64 Bit Windows OS

Can anybody please convert the above Delphi article in VC++ ?

I guess, it requires two projects, one User Interface .exe for running the Form based Application and other .dll for actually hooking the Keyboard globaly

What I have tried:

I tried searching various online examples, but they are still 32 bit only. Further, it does not use the Memory map file concept, like the above Delphi Article.

推荐答案

实际上Delphi还活着: RAD Studio | Windows,Mac,Android和iOS应用开发 [ ^ ]。

无论如何你可以自己转换项目(写一篇文章):一旦你掌握了Pascalish语法的怪癖,它就不应该是一项艰巨的任务。
Actually Delphi is alive: RAD Studio | Windows, Mac, Android and iOS App Development[^].
Anyway you could convert yourself the project (and write an article about): once you grasp the quirks of the Pascalish syntax it shouldn't be a daunting task.


这篇关于Delphi到C ++的转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆