Click here to Skip to main content
15,916,293 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Just how evil is SetTimer and timers in dialogs and when should they be cleaned up? Pin
charlieg13-Sep-06 15:18
charlieg13-Sep-06 15:18 
GeneralRe: Just how evil is SetTimer and timers in dialogs and when should they be cleaned up? Pin
charlieg13-Sep-06 15:23
charlieg13-Sep-06 15:23 
GeneralRe: Just how evil is SetTimer and timers in dialogs and when should they be cleaned up? Pin
Gary R. Wheeler14-Sep-06 1:19
Gary R. Wheeler14-Sep-06 1:19 
GeneralRe: Just how evil is SetTimer and timers in dialogs and when should they be cleaned up? Pin
charlieg14-Sep-06 1:38
charlieg14-Sep-06 1:38 
AnswerRe: Just how evil is SetTimer and timers in dialogs and when should they be cleaned up? Pin
Michael Dunn13-Sep-06 21:18
sitebuilderMichael Dunn13-Sep-06 21:18 
Questionusing *.exe file such az static library Pin
asdf175313-Sep-06 9:25
asdf175313-Sep-06 9:25 
AnswerRe: using *.exe file such az static library Pin
Zac Howland13-Sep-06 9:46
Zac Howland13-Sep-06 9:46 
QuestionOpening a USB keyboard when Windows already has it open? Pin
David Knechtges13-Sep-06 8:29
David Knechtges13-Sep-06 8:29 
I have an app now that takes input from a COM port and would like to add the ability to take input from a USB device such as a keyboard, barcode scanner, or other device.

I connected a barcode scanner to my machine and it looks like an HID to the machine - specifically a USB keyboard. I went into the HKLM\System\CurrentControlSet\Control\DeviceClasses registry entry and removed all the entries from there. I then plugged this scanner in again and noted the SymbolicLink values for the registry entries created.

I have another application that talks directly to USB printers, and to talk to them, I do a CreateFile with the SymbolicLink values from under the DeviceClasses registry entry. This works just fine, and I get back a valid handle.

When I do the same thing for this USB barcode scanner's entries, I get INVALID_HANDLE_VALUE back from CreateFile for each one.

I need to be able to differentiate input from the USB barcode scanner and a regular keyboard, since I can take input from the keyboard also.

Thanks for your help!

David
QuestionRe: Opening a USB keyboard when Windows already has it open? [modified] Pin
plineaRenade27-Jan-07 10:10
plineaRenade27-Jan-07 10:10 
QuestionMissing Virtual Functions in Properties/Overrides Pin
bob1697213-Sep-06 7:52
bob1697213-Sep-06 7:52 
AnswerRe: Missing Virtual Functions in Properties/Overrides Pin
prasad_som13-Sep-06 19:18
prasad_som13-Sep-06 19:18 
GeneralRe: Missing Virtual Functions in Properties/Overrides Pin
bob1697214-Sep-06 3:21
bob1697214-Sep-06 3:21 
QuestionC++ createProcess wceload on PocketPC [modified] Pin
sMaggi13-Sep-06 6:41
sMaggi13-Sep-06 6:41 
Questionimage as background in ListView Pin
Sigmac13-Sep-06 6:23
Sigmac13-Sep-06 6:23 
AnswerRe: image as background in ListView Pin
Michael Dunn13-Sep-06 7:37
sitebuilderMichael Dunn13-Sep-06 7:37 
GeneralRe: image as background in ListView Pin
Sigmac13-Sep-06 8:45
Sigmac13-Sep-06 8:45 
GeneralRe: image as background in ListView Pin
Sigmac13-Sep-06 11:16
Sigmac13-Sep-06 11:16 
QuestionCScrollView to BitMap File Pin
georgekjolly13-Sep-06 5:16
georgekjolly13-Sep-06 5:16 
QuestionRe: CScrollView to BitMap File Pin
Hamid_RT14-Sep-06 8:53
Hamid_RT14-Sep-06 8:53 
AnswerRe: CScrollView to BitMap File Pin
georgekjolly14-Sep-06 22:36
georgekjolly14-Sep-06 22:36 
GeneralRe: CScrollView to BitMap File Pin
Hamid_RT15-Sep-06 1:22
Hamid_RT15-Sep-06 1:22 
QuestionUsing .obj created in VC++ in MASM Pin
Piteco13-Sep-06 4:52
Piteco13-Sep-06 4:52 
QuestionCould anyone expain the "Static" to me Pin
bloodwinner13-Sep-06 4:27
bloodwinner13-Sep-06 4:27 
AnswerRe: Could anyone expain the "Static" to me Pin
led mike13-Sep-06 4:33
led mike13-Sep-06 4:33 
AnswerRe: Could anyone expain the "Static" to me Pin
toxcct13-Sep-06 4:35
toxcct13-Sep-06 4:35 

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.