Click here to Skip to main content
15,912,292 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: vc++ 6 directories for include, lib etc Pin
Niklas L8-May-02 5:02
Niklas L8-May-02 5:02 
GeneralRe: vc++ 6 directories for include, lib etc Pin
Brian Delahunty8-May-02 6:05
Brian Delahunty8-May-02 6:05 
GeneralWM_SIZE Question Pin
yellowine8-May-02 4:28
yellowine8-May-02 4:28 
GeneralRe: WM_SIZE Question Pin
Jeremy Falcon8-May-02 4:48
professionalJeremy Falcon8-May-02 4:48 
GeneralRe: WM_SIZE Question Pin
Paul M Watt8-May-02 4:59
mentorPaul M Watt8-May-02 4:59 
GeneralCProperty Sheet or Page problem Pin
8-May-02 4:05
suss8-May-02 4:05 
GeneralRe: CProperty Sheet or Page problem Pin
Prem Kumar8-May-02 8:32
Prem Kumar8-May-02 8:32 
GeneralDesign Question Pin
Tony Fontenot8-May-02 3:58
Tony Fontenot8-May-02 3:58 
I am writing a console program that will go to a database at certian intervals. Basically, I am trying to implement an automated email system for expired records. My question comes when trying to decide between using a Timer or just have the program use Sleep().

So I want the program to check the database every x number of minutes (probally every hour) and see if anything needs to be sent.

My restrictions are that it has to be able to run on win98 and higher.

Any suggestions. Right now I am leaning toward Sleep(), but I am not sure if that is a viable business app solution.

Thanks in advance,

***********************
Tony Fontenot
Recreational Solutions
tony@recsolutions.com
***********************
GeneralRe: Design Question Pin
Niklas L8-May-02 4:54
Niklas L8-May-02 4:54 
GeneralRe: Design Question Pin
Paul M Watt8-May-02 5:07
mentorPaul M Watt8-May-02 5:07 
GeneralSMTP server Pin
Edilson Vasconcelos de Melo Junior8-May-02 3:12
Edilson Vasconcelos de Melo Junior8-May-02 3:12 
GeneralRe: SMTP server Pin
Nish Nishant8-May-02 3:44
sitebuilderNish Nishant8-May-02 3:44 
GeneralRe: SMTP server Pin
Edilson Vasconcelos de Melo Junior8-May-02 5:38
Edilson Vasconcelos de Melo Junior8-May-02 5:38 
GeneralRe: SMTP server Pin
David Cunningham8-May-02 4:11
cofounderDavid Cunningham8-May-02 4:11 
GeneralRe: SMTP server Pin
Edilson Vasconcelos de Melo Junior8-May-02 5:43
Edilson Vasconcelos de Melo Junior8-May-02 5:43 
QuestionSingle View & Multiple Document Problem? Pin
8-May-02 2:02
suss8-May-02 2:02 
AnswerRe: Single View & Multiple Document Problem? Pin
Jonathan Craig8-May-02 3:32
Jonathan Craig8-May-02 3:32 
GeneralRe: Single View & Multiple Document Problem? Pin
8-May-02 17:48
suss8-May-02 17:48 
GeneralRe: Single View & Multiple Document Problem? Pin
Jonathan Craig9-May-02 5:07
Jonathan Craig9-May-02 5:07 
GeneralDrag and Drop, (getting target info) Pin
8-May-02 1:22
suss8-May-02 1:22 
GeneralCommunicating to devices via RS232 to RS485 converter Pin
Agnihothra8-May-02 1:02
Agnihothra8-May-02 1:02 
GeneralRe: Communicating to devices via RS232 to RS485 converter Pin
Tim Smith8-May-02 2:42
Tim Smith8-May-02 2:42 
QuestionWhy Pointers? Pin
a.a8-May-02 0:58
a.a8-May-02 0:58 
AnswerRe: Why Pointers? Pin
8-May-02 1:25
suss8-May-02 1:25 
GeneralRe: Why Pointers? Pin
redeemer8-May-02 12:42
redeemer8-May-02 12:42 

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.