Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Call Class Members from Interrupt Routine Pin
Jochen Arndt28-Feb-12 22:34
professionalJochen Arndt28-Feb-12 22:34 
GeneralRe: Call Class Members from Interrupt Routine Pin
Andy20228-Feb-12 22:50
Andy20228-Feb-12 22:50 
GeneralRe: Call Class Members from Interrupt Routine Pin
Jochen Arndt28-Feb-12 23:05
professionalJochen Arndt28-Feb-12 23:05 
AnswerRe: Call Class Members from Interrupt Routine Pin
enhzflep28-Feb-12 23:34
enhzflep28-Feb-12 23:34 
GeneralRe: Call Class Members from Interrupt Routine Pin
CPallini29-Feb-12 0:18
mveCPallini29-Feb-12 0:18 
GeneralRe: Call Class Members from Interrupt Routine Pin
Andy20229-Feb-12 5:15
Andy20229-Feb-12 5:15 
GeneralRe: Call Class Members from Interrupt Routine Pin
enhzflep29-Feb-12 5:22
enhzflep29-Feb-12 5:22 
GeneralRe: Call Class Members from Interrupt Routine Pin
Erudite_Eric1-Mar-12 22:37
Erudite_Eric1-Mar-12 22:37 
You cant pick up an interrupt from user mode. What Andy has is a card that comes with a driver and communicates with a dll over the IO manager, and that dll is imported into his app.

So the driver completes an outstanding IOCTL sent down by the dll and on completion any registered 'interrupt' handlers are called.

I dont know why an app would need notification every 20ms, the windows timer goes to about 10ms at the quickest, and if Andy is only using it as a timer then why not use the built in windows one?

If it is for transfering data the driver should asemble it into meaningfull packets andx send big chunks to user mode.

Andy is also going to get a massive performance hit switching contexts form kernel to user mode every 20ms.
==============================

Nothing to say.

GeneralRe: Call Class Members from Interrupt Routine Pin
enhzflep1-Mar-12 22:44
enhzflep1-Mar-12 22:44 
GeneralRe: Call Class Members from Interrupt Routine Pin
Erudite_Eric1-Mar-12 22:55
Erudite_Eric1-Mar-12 22:55 
GeneralRe: Call Class Members from Interrupt Routine Pin
Richard MacCutchan29-Feb-12 5:34
mveRichard MacCutchan29-Feb-12 5:34 
GeneralRe: Call Class Members from Interrupt Routine Pin
Jochen Arndt29-Feb-12 5:59
professionalJochen Arndt29-Feb-12 5:59 
GeneralRe: Call Class Members from Interrupt Routine Pin
Andy20229-Feb-12 6:10
Andy20229-Feb-12 6:10 
GeneralRe: Call Class Members from Interrupt Routine Pin
Erudite_Eric1-Mar-12 22:39
Erudite_Eric1-Mar-12 22:39 
GeneralRe: Call Class Members from Interrupt Routine Pin
Andy2022-Mar-12 0:15
Andy2022-Mar-12 0:15 
GeneralRe: Call Class Members from Interrupt Routine Pin
Erudite_Eric4-Mar-12 21:29
Erudite_Eric4-Mar-12 21:29 
GeneralRe: Call Class Members from Interrupt Routine Pin
Jochen Arndt29-Feb-12 6:00
professionalJochen Arndt29-Feb-12 6:00 
GeneralRe: Call Class Members from Interrupt Routine Pin
Erudite_Eric1-Mar-12 22:31
Erudite_Eric1-Mar-12 22:31 
GeneralRe: Call Class Members from Interrupt Routine Pin
enhzflep1-Mar-12 22:41
enhzflep1-Mar-12 22:41 
AnswerRe: Call Class Members from Interrupt Routine Pin
JackDingler2-Mar-12 7:41
JackDingler2-Mar-12 7:41 
Questionview object in dialog when can be used Pin
appollosputnik28-Feb-12 20:43
appollosputnik28-Feb-12 20:43 
AnswerRe: view object in dialog when can be used Pin
CPallini28-Feb-12 21:42
mveCPallini28-Feb-12 21:42 
GeneralRe: view object in dialog when can be used Pin
appollosputnik28-Feb-12 22:44
appollosputnik28-Feb-12 22:44 
GeneralRe: view object in dialog when can be used Pin
CPallini29-Feb-12 0:17
mveCPallini29-Feb-12 0:17 
QuestionHow to insert a "#" to some lines ? Pin
Faez Shingeri28-Feb-12 19:52
Faez Shingeri28-Feb-12 19:52 

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.