Click here to Skip to main content
15,891,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with CRecordset/CDatabase Pin
Anonymous22-Aug-04 8:41
Anonymous22-Aug-04 8:41 
GeneralEval Copy Pin
shiraztk19-Aug-04 0:37
shiraztk19-Aug-04 0:37 
GeneralRe: Eval Copy Pin
Antti Keskinen19-Aug-04 1:03
Antti Keskinen19-Aug-04 1:03 
GeneralRe: Eval Copy Pin
shiraztk19-Aug-04 1:53
shiraztk19-Aug-04 1:53 
GeneralRe: Eval Copy Pin
John M. Drescher19-Aug-04 2:08
John M. Drescher19-Aug-04 2:08 
GeneralRe: Eval Copy Pin
shiraztk19-Aug-04 2:55
shiraztk19-Aug-04 2:55 
GeneralRe: Eval Copy Pin
John M. Drescher19-Aug-04 4:53
John M. Drescher19-Aug-04 4:53 
GeneralRe: Eval Copy Pin
gamitech19-Aug-04 11:29
gamitech19-Aug-04 11:29 
My suggestiion is to set a registry key in a place known only by you or in several places in registry.
Your program should have for example 50 hours when it can be avalaible.
In registry you set at first the value 50
And when your program starts you shoul set a timer

SetTimer(NULL,NULL,50*60000,TimerProc);
and when the time elapses the TimerProc should change the registry key to EXPIRED or something like this.


The program should always start by reading this key and if it is expired close and if it is not set the timer.
This should work



gabby
GeneralRe: Eval Copy Pin
shiraztk19-Aug-04 20:12
shiraztk19-Aug-04 20:12 
GeneralIUnknown casting Pin
RChin19-Aug-04 0:34
RChin19-Aug-04 0:34 
GeneralRe: IUnknown casting Pin
Antti Keskinen19-Aug-04 0:55
Antti Keskinen19-Aug-04 0:55 
GeneralRe: IUnknown casting Pin
RChin19-Aug-04 1:16
RChin19-Aug-04 1:16 
GeneralCString Pin
Johnny Peszek19-Aug-04 0:24
Johnny Peszek19-Aug-04 0:24 
GeneralRe: CString Pin
Antti Keskinen19-Aug-04 1:16
Antti Keskinen19-Aug-04 1:16 
GeneralRe: CString Pin
Johnny Peszek19-Aug-04 1:22
Johnny Peszek19-Aug-04 1:22 
GeneralRe: CString Pin
V.19-Aug-04 1:35
professionalV.19-Aug-04 1:35 
GeneralRe: CString Pin
Johnny Peszek19-Aug-04 1:43
Johnny Peszek19-Aug-04 1:43 
GeneralRe: CString and FYI Pin
V.19-Aug-04 2:18
professionalV.19-Aug-04 2:18 
GeneralUTF-8 to Unicode Pin
muthukumar_pandian19-Aug-04 0:19
muthukumar_pandian19-Aug-04 0:19 
GeneralRe: UTF-8 to Unicode Pin
Blake Miller20-Aug-04 4:55
Blake Miller20-Aug-04 4:55 
GeneralRe: UTF-8 to Unicode Pin
anderslundsgard30-Aug-04 2:07
anderslundsgard30-Aug-04 2:07 
GeneralRe: UTF-8 to Unicode Pin
Blake Miller30-Aug-04 6:18
Blake Miller30-Aug-04 6:18 
Generalcoledatetime formating time Pin
prasad_som19-Aug-04 0:09
prasad_som19-Aug-04 0:09 
GeneralRe: coledatetime formating time Pin
RChin19-Aug-04 0:44
RChin19-Aug-04 0:44 
GeneralRe: coledatetime formating time Pin
David Crow19-Aug-04 2:44
David Crow19-Aug-04 2:44 

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.