VXD file - make with Delphi

n_pelov
n_pelov used Ask the Experts™
on
How can I make a VXD driver with delphi and what can I do with it?
Can I do something like this:
  - to capture Keyboard and mouse
  - to simulate keystokes and mouse clicks
  - to handle when an exe file is executed ot any file is opened.

When I findout how to make VXD files I will ask more questions, but that is what I want to know now.
thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Hi n pelov,

AFAIK , it not possible to make a VXD driver with Delphi,

to capture the Keybaord and mouse you have to write a system wide hook.

good luck

Cesario
As said it is not possible to create VXDs in Delphi. Delphi cannot generate the EXE format needed.
Watching keystrokes and mouse is possible with a system wide hook. Same for app starts and focus switches.
Commented:
It's not absolutely correct that creating VxDs using Delphi is impossible. It's possible to write all the needed code and compile it into .obj and then link the .obj-s using special compiler (from Windwos DDK).

There is an old article (1999) describing this technique in details at http://www.codenet.ru/progr/delphi/stat/vxd.php.

But... it's in russian.

I have english translation of the article (made by me once). It's too long to be posted here, but I can send it by email.
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

Author

Commented:
I was sure that delphi can do almost everything.
The bulgarian language is very close to russian, but I can understand english better.
My e-mail is npelov@myrealbox.com

Author

Commented:

This page is N/A, it's gone, dead!
http://www.codenet.ru/progr/delphi/stat/vxd.php.

Can you tell me where can I find this compiler (note that I hate microsoft sites, but if it's necessary...)

And can you tell me where can I find vxd file to use with delphi?

I DO NOT QUIT INTERESTING IN MAKING VXD FILES WITH DELPHI!!!
I think it was olny possible with Delphi 3. I see no reason to do it in Delphi.
Personally i distrust programmers who say C is too complicated for them. Consequently i distrust the VXD they write.
rpo

Commented:
The correct link is http://www.codenet.ru/progr/delphi/stat/vxd.php (without the period at the end)

Commented:
@rpo: Can you please send me the translation? worm.thomas@email.de

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial