V
V
Vasily Melnikov2016-10-28 12:07:43
Windows
Vasily Melnikov, 2016-10-28 12:07:43

Is it possible to use a 64 bit driver in a 32 bit application?

There is a PCI device for which drivers and API libraries are implemented in the form of dll for both 32-bit and 64-bit systems.
This device must be used in a program that is very problematic, long, but rather unrealistic to convert to a 64-bit version.
Actually, the question is whether it is possible to use 64-bit Windows with the appropriate drivers, and access all this stuff from a 32-bit application.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Godless, 2016-10-28
@Godless

Everything is possible.
Another question is that this most likely cannot be done directly. A 32 bit application can't do anything that is 64 bit related except for inter-process communication stuff. Named Pipes for example.
Those. or some kind of layer between the driver and the application, or modification of the driver.
PS: I already forgot, maybe a 64bit driver can provide an interface for 32bit data exchange separately. read WDK

B
bnytiki, 2016-10-28
@bnytiki

Does the driver fit into the standard Windows driver management system?
Then you can communicate through the Windows API without getting access directly to the driver itself.
Is the driver all of itself non-standard? Is it possible to communicate directly with him? Then no, it won't work. Perhaps it will be easier to write a driver proxy than to rewrite the application?
On the third hand - try 32-bit drivers. Maybe they will be in the system? Some types of driver can do this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question