driver

Disabling / Suppressing SD(HC) Write Protect

I know that the write protect tab in SD cards is not a real hardware protection, but a simple signal to the reader that the card is write protected. For example, the CHDK project for Canon cameras specifically ignores it, and once had a cheap flash reader ($2 by mail from Hong Kong) which didn't recognize it. Is there any way (registry ...

Do I have to build my LabVIEW instrument driver under Program Files?

I'm trying to build a LabVIEW plug and play instrument driver project for a device we sell. I followed the instructions to create a project, and it created the project in with the LabVIEW program: C:\Program Files\National Instruments\LabVIEW 8.0\instr.lib I suppose I could connect that folder to source control and just do all the ...

Printing to LPT1 in C#

How do you print directly to a dot matrix printer in C# using file LPT1. I did it on C++ with fopen, but I don't know how to do it in c#. thank you very much ...

learning to program Windows drivers

what would you recommend for a resource on learning to program drivers. i am working my way through Programming the Microsoft Windows Driver Model, but i was wondering if any of the examples are vista compatible. additionally, the book is more of a reference of the kernel functions so far. is their a resource that will take the beginner ...

Why do some devices not enumerate with SetupDiGetDeviceInterfaceDetail()?

I am maintaining an application that uses SetupDiGetDeviceInterfaceDetail() to find out information on the installed serial ports on the computer. I have noticed while testing this that there are some devices, such as my Lucent WinModem, that do not show up in that enumeration. It turns out that I am having a similar issue with a set o...

Windows API: Detecting when a driver install has finished

I'm writing some software that automatically connects a Bluetooth device using the Windows Bluetooth API. When it connects, Windows automatically starts installing the Bluetooth HID device driver, as expected: This takes about 10-15 seconds, after which Windows displays the familar "ready for use" message: The problem is that Bluet...

Why can't my software initialize hardware on a different motherboard?

Hello, I am not a developer, but I think that my question is interesting enough (and I am desperate enough) to post here on stackoverflow My company uses a program written in C# to drive a kiosk PC that uses .Net 2.0 SP1 and a USB signature pad. The signature pad is a HID that uses the generic Microsoft HID driver. We tried to install...

Writing a Windows Printer Driver

I want to write a application in C++ or C# that will behave as a printer driver when installed. It will be available in the drop down list in Print dialog but instead of printing it will call into my code. I think there may be some interfaces that Windows provide to write printer drivers. ...

Add or extend file system support under windows

I've seen that Mac Drive 7 adds HFS+ and HFS support to windows for both hard-drives and CDs, which includes handling problems like the mac partition format. Clearly that must mean that file system support in windows is extensible somehow, even if it is slow. So where could someone start to write a simple (or not) file system driver for ...

How do I deploy a .inf based driver?

I would like to deploy a .inf based USB driver with my installer. I guess the .inf needs to be placed in %SystemRoot%\inf, but there is also a .cat (WHQL certification I guess?), and .sys files. What do I do with those? EDIT: Resolved, thanks to the helpful answers. I was able to P/Invoke the function, so I have a post-install action ...

Register level programming of GMA 950 hardware

I'm trying to write a basic driver for the GMA 950 hardware. I've been looking for a datasheet or some programming guide but cannot find anything. I've also looked at the Linux and FreeBSD source but they are quite large and will take time to understand. The GMA 950 is associated with an Intel 945 Express chipset. Does anyone know of...

Using boost in WDK build environment for applications?

I am using the Windows Driver Kit (WinDDK 6001.18001) to build my userspace application rather than Visual Studio 2005. I am taking this approach because we also have to build driver components, so I'd prefer to have a single build environment to build everything. Microsoft itself uses this approach for several products. This was workin...

Using 64-bits driver from 32-bits application

I have a Windows application that HAS to run as 32-bits (because of other limitations out of my control). However, my application has to call and access a driver which may be 32-bits or 64-bits depending on the system where it is installed. I access the driver through DeviceIoControl() calls, exchanging data structures declared in an in...

Persevere datasource driver

Hi everyone, I'm new to persevere, I did the helloWorld tutorial, very impressive btw but I'm now trying to connect to a real postgres database and find myself struggling having the driver recognized when I have the feeling it should be dead simple. I dropped all the jdbc driver for postgres I had to the persevere/lib folder: postgr...

What is a driver class? (Java)

Hi, I was reading through a Java textbook, and it mentions something called a "driver class". What is it, and how is it different from a normal class? ...

How can I check if a Windows device driver is loaded using Perl?

I was wondering how I could check if a device driver is loaded using Perl? The operating system is Windows Server 2003, and I'm interested in seeing if the driver for a particular video card is loaded correctly or not. ...

Problem compiling Platform SDK program

Hi all, I'm trying to compile the example from here; http://msdn.microsoft.com/en-us/library/ms682619(VS.85).aspx I've installed the Platform SDK, but I'm getting these errors; Error 1 error LNK2019: unresolved external symbol _GetDeviceDriverBaseNameW@12 referenced in function _main DriverChecker.obj DriverChecker Error 2 error ...

Change arguments that start up with JFS driver on linux

I am more common with the QNX os and I could change the arguments for the ide driver on startup. I wanted to change the arguments that get started in a linux kernel for the jfs filesystem which mounts a flash card. I can't seem to find a good web source for this information but I am sure I am not "googling" it right. What are the diff...

suggest any tutorial or ebooks for Driver development in windows (NDIS)?

Hi guys, i wanna write Driver for my network adapter .For the suggest any e books or online tutorial for Driver development? ...

How can display driver version be obtained on the Mac?

How can the display driver version be programatically obtained on the Mac? Related: Programmatically get processor details from Mac OS X ...