driver

Who to contact at HP for misbehaving drivers?

I'm working on som printing code that doesn't behave correctly when used against certain HP drivers. The PrintDlgEx structure will actually come back empty in some cases when a printer is selected. We can duplicate the behavior in a simple test program that has allowed us to track it back to the printer being selected (in this case a M...

Assembler file as input for a driver build with the WDK tools

How to get an assembler file to be compiled and linked into a driver build. To clarify a bit The SOURCES file : TARGETTYPE=DRIVER DRIVERTYPE=WDM TARGETPATH=obj TARGETNAME=bla INCLUDES=$(DDK_INC_PATH) TARGETLIBS=$(DDK_LIB_PATH)\ks.lib SOURCES=x.cpp y.cpp z.asm The problem occurs with the z.asm file. NMAKE complains that it does no...

How do I program a driver for a USB device for windows platform?

I am looking for a device that reads wiring voltages via a USB interface and returns the data. How would I go about programming something to interpret this data and what language would I use? edit: If it helps, this project is to develop a digital tachometre for older engines that don't support a comprehensive ODB2 data port. Therefore,...

Oracle instant client with OraOLE DB provider?

Is it possible to use oracle instant client for application that use oraoledb driver for connecting to oracle 9i DB. ...

What Oracle driver should I install in my MS SQL server to be able to use DTS to copy data from the Oracle server to the MS SQL server?

Hi, I have an Oracle server (version 9, I believe) and a MS SQL server (version 2000). The MS SQL server is running MS Windows Server 2003. I would like to use DTS to extract some data from the Oracle server and pour it into the MS SQL server. I'm having problems finding out what driver I should install on my MS SQL server for it to b...

How to make resource dll to describe device fonts ?

The target driver im building is not a native driver but a minidriver working with Microsoft Universal Pinter Driver According to DDK: Descriptions of these items [fonts in my case] are placed in a resource DLL, as described in the Platform SDK documentation. It then goes on to say: In the printer's resource DLL, specify ...

OLEDB v/s ODBC

What is the difference between OLEDB and ODBC? When do I use which and how do I know what I am looking at is a OLEDB driver v/s an ODBC driver? ...

OLEDB Driver Bit?

How do I find if the Oracle drivers installed on a system (64 bit Windows 2003 Server) are 32 bit or 64 bit? And how do I even know if they are installed? Is there a particular location where I can check it? PS - I saw the Q here, but is there an easier way? ...

How to use a JDBC driver from an arbitrary location

I need to test a JDBC connection to a database. The java code to do that should be as simple as: DriverManager.getConnection("jdbc connection URL", "username", "password"); The driver manager will lookup the appropriate the driver for the given connection URL. However I need to be able to load the JDBC driver (jar) at runtime. I.e I d...

USB HID pen requirements

Is there a USB HID pen driver in Windows Vista? If so, what are the requirements for USB descriptors, in order to make Windows Vista recognize the pen and load the pen driver? What I'm searching for is the pen equivalent to the HID mouse driver, HID keyboard driver and mass storage driver. The mentioned example drivers makes it possibl...

Static functions in Linux device driver?

is there a reason why most function definition in device driver in linux code is defined as static? is there a reason for this? I was told this is for scoping and to prevent namespace pollution, could anyone explain it in detail why static definition is used in this context? ...

PDO MySQL Driver on Mac

I have a mac with a custom PHP 5 install that built from about a year ago. I remember it took all Sunday and I had to compile about 20 times to get it right. The MySQL I have is from entropy and was precompiled. Now I need to get PDO with the MySQL driver working and the driver is not installed. I tried the "pecl install pdo_mysql" and ...

accessing CreateFileMapping physical memory on WCE

Well, kind of tricky question... we want to create a physical memory buffer, to be shared between driver and application, on WCE6. on CE5, we just allocated physical memory and mapped it to virtual memory both on driver and application, and it works like a charm. however on WCE6, due to new security scheme, you cannot map physical memory...

Measuring memory use of device drivers in Windows

How can I determine how much memory each device driver is consuming? I'm assuming this can be done with some Win32 or .NET API, but I just haven't been able to determine which. ...

How to write Linux driver module call/use another driver module?

I'm developing a Linux driver loadable module and I have to use another device in my driver.(kind of driver stacked on another driver) How do I call/use another driver in my driver? I think they are both in the kernel so there might be a way that can use another driver directly. ...

How to load digital signals from a USB port into memory?

My friend is working on a project in which he needs to get some digital signals into a computer to display/manipulate them. So I advised him to insert those signals into a USB port due to it's popularity (because the device (which outputs the signals) and the program used for display and manipulation should both be designed for real wor...

Windows kernel driver for direct I/O - anyone been there?

I need to handle direct I/O to a parallel port in a better way that we are doing it at the moment - presently we use a kernel driver that 'opens up' useable addresses using the I/O protection map. This works ok but is getting more and more left behind. We still wish to continue using a parallel port and there are very satisfactory parall...

Which api functions to install a file system driver in Windows?

I want to install a driver for Ext2 partitions under Windows XP, the installation will be done with a self written Inno Setup script. Which API functions do I need to call for this? From what I googled so far I don't seem to be needing an inf file, and therefore no call to SetupCopyOEMInf. But I don't know what to do instead... Please e...

Help for driver programming.

Hi!, I want to write a driver (in c) that can "catch" the events for reading and writing on hard disk. My problem is that I do not know how can I listen the system bus to treat these events. I use Microsoft DDK. Thank you! ...

Accessing I/O Catalog Class Objects

Hi there, I'm developing an OS X kernel extension (kext) that will be used as an I/O Kit driver. This driver, however, will be strictly "virtual"; it will not interface with any hardware. OS X keeps a catalog (I/O Catalog) of all the drivers that are loaded into the kernel. It also keeps a registry (I/O Registry) containing the I/O Cat...