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

C / C++ / MFC

 
GeneralDSN password and username Pin
skoizumi2911027-Apr-04 6:08
sussskoizumi2911027-Apr-04 6:08 
GeneralRe: DSN password and username Pin
Krugger40427-Apr-04 10:28
Krugger40427-Apr-04 10:28 
GeneralSetting up a timer Pin
Shay Harel27-Apr-04 6:08
Shay Harel27-Apr-04 6:08 
GeneralRe: Setting up a timer Pin
toxcct27-Apr-04 6:14
toxcct27-Apr-04 6:14 
GeneralRe: Setting up a timer Pin
David Crow27-Apr-04 6:42
David Crow27-Apr-04 6:42 
GeneralRe: Setting up a timer Pin
Paul Ranson27-Apr-04 7:56
Paul Ranson27-Apr-04 7:56 
GeneralRe: Setting up a timer Pin
Shay Harel28-Apr-04 3:59
Shay Harel28-Apr-04 3:59 
GeneralRe: Setting up a timer Pin
Paul Ranson28-Apr-04 23:00
Paul Ranson28-Apr-04 23:00 
The documentation for CreateTimerQueueTimer here[^] suggests that you have to define _WIN32_WINNT=0x0500 or greater. I usually do this in the project settings, where it may already be set to a lower level. The thread pool functions are only available on W2000 and later, which is slightly constraining but makes for a very quick example.

The documentation also says that the function will be called every 'interval' whether or not the previous call has returned. IOW your timer call back must be 're-entrant'. The Thread Pool functions make life easier but they don't save you from synchronisation issues.

Paul
GeneralPreprocessor Pin
Alexander M.,27-Apr-04 5:30
Alexander M.,27-Apr-04 5:30 
GeneralRe: Preprocessor Pin
toxcct27-Apr-04 5:55
toxcct27-Apr-04 5:55 
GeneralRe: Preprocessor Pin
Alexander M.,28-Apr-04 2:38
Alexander M.,28-Apr-04 2:38 
GeneralRe: Preprocessor Pin
David Crow27-Apr-04 10:01
David Crow27-Apr-04 10:01 
GeneralRe: Preprocessor Pin
toxcct27-Apr-04 23:20
toxcct27-Apr-04 23:20 
GeneralRe: Preprocessor Pin
Paul Ranson28-Apr-04 0:43
Paul Ranson28-Apr-04 0:43 
GeneralRe: Preprocessor Pin
Alexander M.,28-Apr-04 2:37
Alexander M.,28-Apr-04 2:37 
GeneralRe: Preprocessor Pin
David Crow29-Apr-04 3:11
David Crow29-Apr-04 3:11 
GeneralRe: Preprocessor Pin
Paul Ranson30-Apr-04 1:26
Paul Ranson30-Apr-04 1:26 
GeneralRe: Preprocessor Pin
David Crow29-Apr-04 3:08
David Crow29-Apr-04 3:08 
GeneralHelp needed: Swapping large data sets to file Pin
f.o.b27-Apr-04 4:56
f.o.b27-Apr-04 4:56 
GeneralRe: Help needed: Swapping large data sets to file Pin
f6427-Apr-04 6:14
f6427-Apr-04 6:14 
GeneralCharge Images from a PATH Pin
Hugo_Javier_Bertorello27-Apr-04 4:52
Hugo_Javier_Bertorello27-Apr-04 4:52 
GeneralRe: Charge Images from a PATH Pin
David Crow27-Apr-04 5:38
David Crow27-Apr-04 5:38 
GeneralRe: Charge Images from a PATH Pin
PJ Arends27-Apr-04 7:00
professionalPJ Arends27-Apr-04 7:00 
GeneralSystem wide CBT-Hook reacts only to windows in creating process Pin
Nick Nougat27-Apr-04 4:05
Nick Nougat27-Apr-04 4:05 
GeneralCFormView in a Dialog Based Aplication Pin
Carlos Sánchez García27-Apr-04 4:00
Carlos Sánchez García27-Apr-04 4:00 

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.