Click here to Skip to main content
15,888,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to use DirectShow sample in my application? SOLVED? Pin
Vaclav_18-Feb-14 4:50
Vaclav_18-Feb-14 4:50 
QuestionWindows Driver - Mapping Windows API functions to Device Driver function. Pin
trinh.nguyen17-Feb-14 2:30
trinh.nguyen17-Feb-14 2:30 
AnswerRe: Windows Driver - Mapping Windows API functions to Device Driver function. Pin
Nicolas Dorier19-Feb-14 11:55
professionalNicolas Dorier19-Feb-14 11:55 
QuestionTFS on/in the cloud Pin
bkelly1316-Feb-14 15:49
bkelly1316-Feb-14 15:49 
AnswerRe: TFS on/in the cloud Pin
Richard MacCutchan16-Feb-14 22:29
mveRichard MacCutchan16-Feb-14 22:29 
GeneralRe: TFS on/in the cloud Pin
bkelly1317-Feb-14 6:44
bkelly1317-Feb-14 6:44 
Questioni/o registers that control cash drawer Pin
Member 1060107316-Feb-14 10:36
Member 1060107316-Feb-14 10:36 
AnswerRe: i/o registers that control cash drawer Pin
Richard Andrew x6416-Feb-14 11:14
professionalRichard Andrew x6416-Feb-14 11:14 
To flip a bit, you can use XOR (exclusive OR). If the target bit is off, this turns it on, and if the target bit is on, this turns it off.

Here is an example:

C++
register = register ^ 0x02;




The difficult we do right away...
...the impossible takes slightly longer.

GeneralRe: i/o registers that control cash drawer Pin
Member 1060107316-Feb-14 11:31
Member 1060107316-Feb-14 11:31 
GeneralRe: i/o registers that control cash drawer Pin
Richard Andrew x6416-Feb-14 11:36
professionalRichard Andrew x6416-Feb-14 11:36 
AnswerRe: i/o registers that control cash drawer Pin
Richard MacCutchan16-Feb-14 22:28
mveRichard MacCutchan16-Feb-14 22:28 
GeneralRe: i/o registers that control cash drawer Pin
Member 1060107319-Feb-14 8:25
Member 1060107319-Feb-14 8:25 
GeneralRe: i/o registers that control cash drawer Pin
enhzflep19-Feb-14 18:17
enhzflep19-Feb-14 18:17 
GeneralRe: i/o registers that control cash drawer Pin
Member 1060107320-Feb-14 9:16
Member 1060107320-Feb-14 9:16 
GeneralRe: i/o registers that control cash drawer Pin
enhzflep20-Feb-14 16:40
enhzflep20-Feb-14 16:40 
GeneralRe: i/o registers that control cash drawer Pin
Member 1060107320-Feb-14 20:01
Member 1060107320-Feb-14 20:01 
GeneralRe: i/o registers that control cash drawer Pin
enhzflep20-Feb-14 20:17
enhzflep20-Feb-14 20:17 
QuestionHandling mouse using OS interrupts Pin
myth199015-Feb-14 18:03
myth199015-Feb-14 18:03 
AnswerRe: Handling mouse using OS interrupts Pin
Richard MacCutchan15-Feb-14 21:29
mveRichard MacCutchan15-Feb-14 21:29 
GeneralRe: Handling mouse using OS interrupts Pin
myth199015-Feb-14 22:31
myth199015-Feb-14 22:31 
GeneralRe: Handling mouse using OS interrupts Pin
Software_Developer16-Feb-14 2:01
Software_Developer16-Feb-14 2:01 
GeneralRe: Handling mouse using OS interrupts Pin
myth199016-Feb-14 2:13
myth199016-Feb-14 2:13 
GeneralRe: Handling mouse using OS interrupts Pin
Software_Developer16-Feb-14 3:28
Software_Developer16-Feb-14 3:28 
GeneralRe: Handling mouse using OS interrupts Pin
myth199017-Feb-14 2:29
myth199017-Feb-14 2:29 
GeneralRe: Handling mouse using OS interrupts Pin
myth199022-Feb-14 17:59
myth199022-Feb-14 17:59 

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.