Click here to Skip to main content
15,890,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CStringArray Pin
Graham Bradshaw2-Dec-04 11:09
Graham Bradshaw2-Dec-04 11:09 
GeneralSubtraction of Integer on Character Array [C++] Pin
Shaitan002-Dec-04 6:49
Shaitan002-Dec-04 6:49 
GeneralRe: Subtraction of Integer on Character Array [C++] Pin
Maximilien2-Dec-04 7:05
Maximilien2-Dec-04 7:05 
GeneralRe: Subtraction of Integer on Character Array [C++] Pin
RChin2-Dec-04 7:11
RChin2-Dec-04 7:11 
GeneralRe: Subtraction of Integer on Character Array [C++] Pin
John R. Shaw2-Dec-04 17:23
John R. Shaw2-Dec-04 17:23 
GeneralScrolling in CRichEditView Pin
zhngmm2-Dec-04 5:46
zhngmm2-Dec-04 5:46 
GeneralExport Outlook Mailboxes programmatically Pin
Kri52-Dec-04 4:55
Kri52-Dec-04 4:55 
GeneralInterrupts & Timers Pin
sweep1232-Dec-04 4:50
sweep1232-Dec-04 4:50 
I have installed on my PC a PCI card which implements RS422 via an API.

Now this API has calls to install and uninstall an interrupt handler; and use this handler to drive conditions such as data sent.

Now I have used the interrupt handler via a Win32 console application, but it seems not to work when I try and use it in a MFC Dialog application - Dont get any interrupts.
I dont know if the handle should be a class member of the dialog, at present its not as thats the only way I could get it to compile.

Two questions:-

1. How does this scheme work (just a simple overview please)

2. I was hoping to use the interrupt to handle time events that need to take place every 40 msec. Can interrupt handlers be installed (via this API) for a MFC application.

Many thanks,

GeneralRe: Interrupts & Timers Pin
Antony M Kancidrowski2-Dec-04 5:35
Antony M Kancidrowski2-Dec-04 5:35 
GeneralRe: Interrupts & Timers Pin
sweep1232-Dec-04 5:44
sweep1232-Dec-04 5:44 
GeneralRe: Interrupts & Timers Pin
Antony M Kancidrowski2-Dec-04 6:19
Antony M Kancidrowski2-Dec-04 6:19 
GeneralUpgrade DB Pin
Ouenstreet2-Dec-04 4:24
Ouenstreet2-Dec-04 4:24 
GeneralRe: Upgrade DB Pin
David Crow2-Dec-04 6:01
David Crow2-Dec-04 6:01 
GeneralRe: Upgrade DB Pin
Ouenstreet3-Dec-04 9:56
Ouenstreet3-Dec-04 9:56 
GeneralRe: Upgrade DB Pin
David Crow3-Dec-04 10:09
David Crow3-Dec-04 10:09 
GeneralPlagarisms Pin
Anonymous2-Dec-04 4:21
Anonymous2-Dec-04 4:21 
GeneralRe: Plagarisms Pin
David Crow2-Dec-04 5:30
David Crow2-Dec-04 5:30 
GeneralRe: Plagarisms Pin
Blake Miller2-Dec-04 10:38
Blake Miller2-Dec-04 10:38 
GeneralRe: Plagarisms Pin
PJ Arends2-Dec-04 11:04
professionalPJ Arends2-Dec-04 11:04 
Generalsoundcard line in data acquisition Pin
gecool2-Dec-04 4:15
gecool2-Dec-04 4:15 
QuestionVisual Studio.net Project - Which folder(s) contain the actual project files that should be backed up?? Pin
jerry1211a2-Dec-04 4:09
jerry1211a2-Dec-04 4:09 
AnswerRe: Visual Studio.net Project - Which folder(s) contain the actual project files that should be backed up?? Pin
John R. Shaw2-Dec-04 5:05
John R. Shaw2-Dec-04 5:05 
GeneralRe: API constants value Pin
Anonymous2-Dec-04 2:55
Anonymous2-Dec-04 2:55 
GeneralRe: API constants value Pin
David Crow2-Dec-04 4:11
David Crow2-Dec-04 4:11 
GeneralRe: API constants value Pin
david_gilmour2-Dec-04 22:15
david_gilmour2-Dec-04 22:15 

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.