Click here to Skip to main content
15,914,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCopy,Paste and Rename..Is This Possible?? Pin
Member 50926811-Oct-03 11:35
Member 50926811-Oct-03 11:35 
AnswerRe: Copy,Paste and Rename..Is This Possible?? Pin
Michael Dunn11-Oct-03 12:07
sitebuilderMichael Dunn11-Oct-03 12:07 
GeneralRe: Copy,Paste and Rename..Is This Possible?? Pin
Member 50926811-Oct-03 12:32
Member 50926811-Oct-03 12:32 
AnswerRe: Copy,Paste and Rename..Is This Possible?? Pin
User 665811-Oct-03 13:09
User 665811-Oct-03 13:09 
QuestionHow can I open PS/2 port Pin
asd175311-Oct-03 10:49
asd175311-Oct-03 10:49 
AnswerRe: How can I open PS/2 port Pin
Blake Coverett11-Oct-03 12:51
Blake Coverett11-Oct-03 12:51 
GeneralRe: How can I open PS/2 port Pin
asd175311-Oct-03 13:04
asd175311-Oct-03 13:04 
GeneralRe: How can I open PS/2 port Pin
Blake Coverett11-Oct-03 13:25
Blake Coverett11-Oct-03 13:25 
You still skipped the 'why' part of the question. Is this mouse still supposed to work in Windows while you are spying on it? If so you can't just 'open the port' anyways, as if you are reading from it the operating system can't be reading from it at the same time.

If you really need the low level bits coming from the mouse you would have to write a filter driver. To do this, install the DDK and have a look at the sample in src\input\moufiltr. I doubt however that you really need this, and writing drivers is not for the faint of heart.

If you are running on XP or later, you should use the Raw Input model. Have a look on MSDN for RegisterRawInputDevice.

If you have to support older versions of Windows, you should probably stick with hooks. In that case, have a look on MSDN for SetWindowsHookEx.

-Blake
GeneralRe: How can I open PS/2 port Pin
asd175311-Oct-03 23:14
asd175311-Oct-03 23:14 
QuestionHow to read / write file Pin
Snyp11-Oct-03 10:07
Snyp11-Oct-03 10:07 
AnswerRe: How to read / write file Pin
Bo Hunter11-Oct-03 10:38
Bo Hunter11-Oct-03 10:38 
Questionhow to convert a project to non UNICODE Pin
OO-P11-Oct-03 7:41
OO-P11-Oct-03 7:41 
AnswerRe: how to convert a project to non UNICODE Pin
W. Hammer -sledge-11-Oct-03 12:46
W. Hammer -sledge-11-Oct-03 12:46 
AnswerRe: how to convert a project to non UNICODE Pin
Taka Muraoka11-Oct-03 13:27
Taka Muraoka11-Oct-03 13:27 
GeneralRe: how to convert a project to non UNICODE Pin
OO-P12-Oct-03 1:12
OO-P12-Oct-03 1:12 
GeneralRe: how to convert a project to non UNICODE Pin
Taka Muraoka12-Oct-03 1:17
Taka Muraoka12-Oct-03 1:17 
Generalproblem of icons Pin
sarasara098765411-Oct-03 4:12
sarasara098765411-Oct-03 4:12 
GeneralRe: problem of icons Pin
includeh1011-Oct-03 5:08
includeh1011-Oct-03 5:08 
GeneralRe: problem of icons Pin
sarasara098765411-Oct-03 20:13
sarasara098765411-Oct-03 20:13 
GeneralSending Large binary data using CSocket Pin
Katamneni11-Oct-03 2:56
Katamneni11-Oct-03 2:56 
Questionodbc in Run Time? Pin
murali_utr11-Oct-03 2:27
murali_utr11-Oct-03 2:27 
GeneralUnique generated id to be shared between machines Pin
frankse11-Oct-03 0:24
frankse11-Oct-03 0:24 
GeneralRe: Unique generated id to be shared between machines Pin
John M. Drescher11-Oct-03 0:58
John M. Drescher11-Oct-03 0:58 
GeneralRe: Unique generated id to be shared between machines Pin
frankse11-Oct-03 4:04
frankse11-Oct-03 4:04 
GeneralRe: Unique generated id to be shared between machines Pin
John M. Drescher11-Oct-03 4:37
John M. Drescher11-Oct-03 4:37 

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.