driver

Simulate Fn+F11 key press

Can you tell me how I can simulate key presses Fn + F11 on a laptop? Do I have to write a driver, or something like that? The platform is Windows XP Pro SP3. Programming Language is C/C++. The purpose is create a program that allow to change enable/disable via GUI some hardware device that can turned off/on only with this hotkey. The ID...

why can i use myob Odbc direct driver v7my with windows 7

why can i use myob Odbc direct driver v7my with windows 7, i have tried using the same odbc driver with XP and vista and it works fine. please help me tnx. ...

Changing the keystrokes of a USB keyboard.

Every time a key is pressed on a regular keyboard, a numeric 'key code' is sent to the computer, eg. 32 or 51 which represent specific keys. Unrelated to my default keyboard which I am using to type this post, I want to be able to plug in a keyboard via USB and have its key codes all shifted up by some constant C. Thus, when pressing t...

How to use ZwQueryInformationProcess to get ProcessImageFileName in a kernel driver

I'm writing a simple kernel driver for my application (which is somehow an antimalware application). I hooked ZwOpenFile() and got the process handle calling this API with PsGetCurrentProcess() which returns a PEPROCESS stucture: PEPROCESS proc = PsGetCurrentProcess(); then I used ZwQueryInformationProcess to get the PID and ImageFil...

what should i learn and look for if i like to build traffic shaper and analizer

i like to add and build something like WIPFW but with traffic shaper option what should i learn in windows driver programing ? is there any code wrappers that can make it easier to program drivers stuff? ...

ADB Driver for HTC Incredible

I am looking for the WinXP Pro SP 3 ADB driver for the HTC Incredible. Does anyone have a link to it? ...

Eclipse Device Chooser cant find my Dell Streak

Im starting to develop for android and i would like to test my aplication in my Dell Streak, its running 1.6 and my OS is Windows 7. According to this link http://developer.android.com/guide/developing/eclipse-adt.html all that i need to do to deploy on my device is: Declare your application as debuggable in your manifest: i ready ha...

creating a block device programmatically in mac os x using iokit framework

Hey all, As i am a total noob to mac os x programming i am having some problems understanding this.I want to create a block device in mac os x leopard which would act as a normal drive in mac os x and after that i want to define the geometry of that device or drive according to a drive which i created during installation. As i a...

Starting a service?

Well, I've recently been getting into developing drivers, so I thought I should make a class to programmatically start services. But of course, I ran into some trouble on the way, as usual. I'm using StartService to start it, but for some reason it just hangs, I've done some research over the internet and it seems it waits for ensurance...

How to detect two identical i2c slaves but with different chip select with one linux i2c driver

Hi, I have to communicate with 2 identical i2c slaves that have a different chip select each. I would like to use one driver for both. What is the best way to do that? ...

Custom USB Driver for Windows? Mac?

I'd like to modify a USB driver to send and receive USB data over a network. Take for example, an iMac and a PC. I have an iPod plugged in to my PC (in NY). I want my iMac (in LA) to recognize the iPod as plugged in to a local USB port and be able to communicate with the iPod. Forget my qualifications, or lack thereof (I have backgroun...

Can anyone recommend a good book on the linux kernel?

Hi, I'm looking for a good book on the linux kernel. I've found this one http://www.kroah.com/lkn/ which is free. I'd like something I can read when away from my computer though and so want to buy a good book. I was thinking about getting this hxxp://oreilly.com/catalog/9780596000028 (cannot submit more than one link). Has anyone any...

Is it possible to use WCF to communicate with Windows kernel mode software?

WCF supports some interoperability bindings. Does any of these bindings allow to communicate with kernel mode sw? AFAIK kernel mode sw can open named pipes, in the Local System security context. Are those named pipes interoperable with WCF? ...

Determine Physical Location of a PCI Adapter

We have a Windows application that can use multiple PCI adapters. These adapters all have external physical connections to other hardware or cables. Our software is configured to know what the physical connection on each card is connected to. Imagine audio software that supports multiple sound inputs and outputs. The audio software i...

What is the similar to printk in user mode?

We can use printk to send debug message in kernal driver. I have a user mode AP that call kernal driver. I would like to output user mode AP debug message with kernal mode driver at the same time. How to do that? ...

Erlang port driver communicating with C program

Hi, If I want my Erlang process connect with a C shared lib I use Erlang linked in port driver. As I want my C program stores some data structures to respond to erlang calls, I must use global variables. Is there any problem? Thanks! ...

Huge performance hit when using Java/OJDBC

Hello, I am having some strange behavior with the using the Java with the "ojdbc.jar" as the client. I have a simple program that tries to just inserts 500 rows using one query. (an INSERT ALL FROM dual). This program takes 25 seconds to complete in Java. This is the time the statement.execute() method takes to complete. Wen I run ...

Open-GL difficulties in linux

Hi, i have had this problem for 3-4 months. OpenGL codes do not run that good as they should in windows. I have a project that i need to run it in linux, with times, pipes, ... that use the Windows API. I need to migrate the code but it doesn't look good. For example they are flashing on the screen! is it from my graphics card on linux? ...

Embedded Linux Read and Write Video from a USB port

I've got an embedded Linux project where I need to read video in through a USB port, make some modifications to that video (such as compression), and then send it back to the host via preferably the same USB port. It would also be a preferred feature if we could send commands to change things such as the video compression level from the ...

Developing for both 64-bit and 32-bit

I've read a lot on the subject of converting 32-bit to 64-bit. I use a lot of vendor hardware, and have finally obtained both 64-bit and 32-bit drivers for each. Moving from 32 to 64 seems like it will be an easy transition. The problem, however, is that we do not wish to "transition". We want to maintain both, side by side, without hav...