Click here to Skip to main content
16,004,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralResource File :Static Library Pin
lavate malllik15-Apr-08 18:40
lavate malllik15-Apr-08 18:40 
Generala Yes or No Question Pin
lahom15-Apr-08 15:12
lahom15-Apr-08 15:12 
GeneralRe: a Yes or No Question Pin
Stephen Hewitt15-Apr-08 15:40
Stephen Hewitt15-Apr-08 15:40 
GeneralRe: a Yes or No Question Pin
lahom15-Apr-08 15:44
lahom15-Apr-08 15:44 
GeneralRe: a Yes or No Question Pin
Stephen Hewitt15-Apr-08 16:01
Stephen Hewitt15-Apr-08 16:01 
JokeRe: a Yes or No Question Pin
cp987615-Apr-08 16:47
cp987615-Apr-08 16:47 
GeneralRe: a Yes or No Question Pin
Stephen Hewitt15-Apr-08 16:50
Stephen Hewitt15-Apr-08 16:50 
GeneralHooks , SendInput , keyb_event .... just don't cut the mustard.. Pin
Bakaneko15-Apr-08 13:11
Bakaneko15-Apr-08 13:11 
Hey guys ..

I have a situation where i need to simulate keyboard input in a (preferably) system friendly way.

I'm writing a user level driver for an usb device that has some keys mapped to some events the device generates. ie ( switch XX goes off , simulate a 'P' being pressed (something like that)) , device wise everything is working ok , i'm getting the info from the device , can write to it in bulk , and change settings on the fly through control ..

Now my problem.

I'm insinuating my keystrokes to the OS through the SendInput , and keyb_event api functions (tried both) .
But i'm runing a virtual KVM switch ( ive tried synergy and am now using multiplicity) which intercepts keyboard input , and sends it through the network to the other connected computers , when i'm working on those screens.. it handles normal keystrokes fine , but the keystrokes i send with the api functions just get ignored by both synergy and multiplicity.

So i was thinking .. do you guys know of a skeleton , or of someone that made minimal alterations to DDK's VHIDMINI driver ... so it behaves like a keyboard , and i can access it from user level and make it send keystrokes..The thing is , i want absolute compatibility on the lowest possible level.. and i'm sure i can't go wrong with a virtual HID there..

I'm sure more than one person has done this by now , and would like to know how they did it..

Or better still , are there more system functions to send keystrokes to the OS except SendInput and keyb_event that are transparent to applications.


Any reply is appreciated

Thank you in advance.
GeneralRe: Hooks , SendInput , keyb_event .... just don't cut the mustard.. Pin
Randor 16-Apr-08 5:34
professional Randor 16-Apr-08 5:34 
GeneralRe: Hooks , SendInput , keyb_event .... just don't cut the mustard.. Pin
Bakaneko16-Apr-08 11:44
Bakaneko16-Apr-08 11:44 
GeneralDLL variable being reset Pin
Alan Balkany15-Apr-08 11:23
Alan Balkany15-Apr-08 11:23 
GeneralRe: DLL variable being reset Pin
CPallini15-Apr-08 12:09
mveCPallini15-Apr-08 12:09 
GeneralRe: DLL variable being reset Pin
Alan Balkany16-Apr-08 5:25
Alan Balkany16-Apr-08 5:25 
QuestionOpenSSL encryption/decryption Pin
Dr. Kelwin15-Apr-08 10:07
Dr. Kelwin15-Apr-08 10:07 
AnswerRe: OpenSSL encryption/decryption Pin
led mike15-Apr-08 10:26
led mike15-Apr-08 10:26 
QuestionRe: OpenSSL encryption/decryption [modified] Pin
Dr. Kelwin15-Apr-08 12:30
Dr. Kelwin15-Apr-08 12:30 
QuestionWhat is the control ID for File Name edit box in CFileDialog under Vista? Pin
Jason Liu15-Apr-08 7:49
Jason Liu15-Apr-08 7:49 
AnswerRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
Jim Crafton15-Apr-08 8:12
Jim Crafton15-Apr-08 8:12 
GeneralRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
Jason Liu15-Apr-08 8:27
Jason Liu15-Apr-08 8:27 
GeneralRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
Jim Crafton15-Apr-08 9:24
Jim Crafton15-Apr-08 9:24 
AnswerRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
JudyL_MD15-Apr-08 10:39
JudyL_MD15-Apr-08 10:39 
AnswerRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
David Crow15-Apr-08 10:46
David Crow15-Apr-08 10:46 
GeneralOT - At the summit! Pin
Nibu babu thomas15-Apr-08 11:26
Nibu babu thomas15-Apr-08 11:26 
GeneralRe: OT - At the summit! Pin
David Crow15-Apr-08 17:00
David Crow15-Apr-08 17:00 
GeneralRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
Jason Liu15-Apr-08 19:25
Jason Liu15-Apr-08 19:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.