drivers

Preinstalling Driver on Windows 8.1 Fails

 ̄綄美尐妖づ 提交于 2019-12-11 22:21:56
问题 We have a few driver packages that we pre-install in the driver store on Windows with SetupCopyOEMInf, following Microsoft's suggested procedures. This process has worked properly for years; no problems on XP, Vista, 7, and even 8. While evaulating Windows 8.1 RTM, we found that our drivers were no longer pre-installing. Checking the setupapi.dev.log, I found: !!! sto: Failed to query boot critical status of device class. Error = 0x00000002 and later: !!! idb: Failed to query inbox status of

How to authenticate users every time they send print commands

荒凉一梦 提交于 2019-12-11 18:24:50
问题 Need an idea to write a code to authenticate users before they send the commands to print. Initial idea is to create a windows service which could bypass the call to the printer driver and can open a form for login credentials. so that only the authenticated users who qualifies the monthly quota for printing the pages could access the printer. Please share your views whether this approach is feasible and how this can be achieved. 回答1: You can monitor the Win32_PrintJob WMI Class or the

How to fix preinstalled driver on Windows 8.1

北慕城南 提交于 2019-12-11 10:34:29
问题 Same situation as described in Preinstalling Driver on Windows 8.1 Fails. But is there a fix how to reinstall the same driver package (no guid change) without reinstalling 8.1? Situation: On a fresh Windows 8.1 installation (no upgrade from 8.0), our USB devices can't be installed. Behavior can be reproduce with a VM: create registry entries with class guid from inf file to show correct USB icon and create own group in device manager: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class

How to Configure Visual Studio 2008 for Compiling Drivers?

本秂侑毒 提交于 2019-12-11 05:52:04
问题 I configured visual studio 2008 for compiling drivers, but still showing lots of syntax errors for header file for ctype.h and excpt.h 回答1: I configured with following settings : Setup Visual Studio 2008. Setup ddk (wdk). Add to Visual Studio paths DDK include files, libs and bins, In VS goto tools ->options->Project and solutions->VC++ directories-> add path to your ddk Include files,Executeable file,Library file Create new empty "Win32 project" and add source file (i.e. Hello_World.c).

How do I install hardware driver using C++ on Win32?

主宰稳场 提交于 2019-12-11 05:25:31
问题 How do I install a hardware driver ( inf file ) using C++? Platform : Win32 回答1: The process is usually called pre-installation . (The normal install process is triggered by the arrival of an hardware device.) The relevant functions can be found in <DIFxAPI.h> from the DDK. You probably want to call DriverPackageInstall() . The expected return value is ERROR_NO_SUCH_DEVINST [sic] as there won't be such a device yet. There's some 64 bit funkyness: you can't install a 64 bits driver from a

Understanding Java's Service Provider Mechanism that automatically loads the Jdbc driver

一曲冷凌霜 提交于 2019-12-11 02:45:36
问题 I am trying to get an accurate understanding of how Java's Service Provider Mechanism works to locate the appropriate JDBC driver. Here is what I have so far: Since Class.ForName is no longer used to explicitly load a JDBC Driver , Java would know what type driver it needs from the database url string that one passes to the getConnection method. For instance the database url to connect to a oracle database would be something like this: public static final String DB_URL = "jdbc:oracle:thin@/

Error connecting to oracle. Getting an UnsatisfiedLinkError for the method t2cGetCharSet

和自甴很熟 提交于 2019-12-11 00:55:39
问题 I am running a series of JUnits using Apache ANT using JDK 1.5. All JUnits that use an Oracle JDBC driver give the UnsatisfiedLinkError shown below. What native library is it looking for and how do I solve this? What should the PATH variable contain? java.lang.UnsatisfiedLinkError: oracle/jdbc/driver/T2CConnection.t2cGetCharSet([CI[CI[CI[CII[SLoracle/jdbc/driver/GetCharSetError;)S at oracle.jdbc.driver.T2CConnection.getCharSetIds(T2CConnection.java:2957) at oracle.jdbc.driver.T2CConnection

Use WMI to find dependencies of a service and then differentiate dependent Services from dependent Drivers

谁都会走 提交于 2019-12-11 00:49:48
问题 There is a code example on MSDN which uses WMI to enumerate all of the dependencies for a particular service: http://msdn.microsoft.com/en-us/library/aa393673(v=vs.85).aspx This is great...but i've discovered that the dependencies it discovers might not all be of the same type. I was expecting all dependencies to be of type Win32_Service...but sometimes you will find that a dependency that is actually a driver (Win32_SystemDriver). So..my question is simple - how do I adjust the MSDN code

What percentage of Windows boxes have OpenGL support [closed]

ⅰ亾dé卋堺 提交于 2019-12-10 18:12:10
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I've been thinking about starting a new graphics project and I want to use Java. Java has wrappers for all of the relevant GL

Linux kernel driver

佐手、 提交于 2019-12-10 17:11:34
问题 This question was migrated from Unix & Linux Stack Exchange because it can be answered on Stack Overflow. Migrated 2 years ago . I'm learning how to develop a simple driver for a card connected to the USB1 serial. I wanted to know how the kernel understand that my device needs to be mapped as /dev/ebbchar. How to change to /dev/ebbGV? and if i connect another device why i dont view /dev/ebbchar but /dev/tty0? thanks. In short how kernel do to understand that board connect to USB1 is ebbchar