Click here to Skip to main content
15,909,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problems accessing small/big icon versions frmo a single Icon resource Pin
ohadp8-Sep-03 3:17
ohadp8-Sep-03 3:17 
QuestionHow to create a win32 static library? Pin
willyfu8-Sep-03 2:43
willyfu8-Sep-03 2:43 
AnswerRe: How to create a win32 static library? Pin
Brad Sokol8-Sep-03 6:03
Brad Sokol8-Sep-03 6:03 
GeneralProblem with pointer to function Pin
Anonymous8-Sep-03 2:27
Anonymous8-Sep-03 2:27 
GeneralRe: Problem with pointer to function Pin
ohadp8-Sep-03 2:38
ohadp8-Sep-03 2:38 
GeneralRe: Problem with pointer to function Pin
David Crow8-Sep-03 3:19
David Crow8-Sep-03 3:19 
GeneralRe: Problem with pointer to function Pin
Yongjun Pan8-Sep-03 18:39
Yongjun Pan8-Sep-03 18:39 
GeneralSetting time interval for timer event in Console app Pin
haritadala8-Sep-03 2:21
haritadala8-Sep-03 2:21 
Hello all

I'm writing a console application in which I have to generate timer event at intervals 1 min,2 min,3 min,4 min and 5 minutes respectively. it's working fine upto 3 minutes interval but whenever I set 4 minutes or 5 minutes interval the timer event is generated immediately. Following is the code I'm using ...

LARGE_INTEGER liDueTime;

liDueTime.QuadPart=-600000000 * 3;// Generatiing timer event at 3 min interval
// Negative values indicate relative time

HANDLE hTimer=CreateWaitableTimer(NULL,TRUE,"WaitTimer");

SetWaitableTimer(hTimer, &liDueTime, 0, NULL, NULL, 0);


If I'm using -600000000 * 4 or 5 then the event is generated immediately. Can anyone help me in this?

Many thanks for your help.
Hari.
GeneralRe: Setting time interval for timer event in Console app Pin
David Crow8-Sep-03 3:31
David Crow8-Sep-03 3:31 
GeneralRe: Setting time interval for timer event in Console app Pin
haritadala8-Sep-03 4:00
haritadala8-Sep-03 4:00 
GeneralRe: Setting time interval for timer event in Console app Pin
David Crow8-Sep-03 4:10
David Crow8-Sep-03 4:10 
GeneralRe: Setting time interval for timer event in Console app Pin
haritadala8-Sep-03 4:15
haritadala8-Sep-03 4:15 
GeneralSEH problem between debug and release version Pin
crazyzhou8-Sep-03 1:51
crazyzhou8-Sep-03 1:51 
GeneralRe: SEH problem between debug and release version Pin
Brad Sokol8-Sep-03 4:24
Brad Sokol8-Sep-03 4:24 
GeneralErrors in handle parent dialog send message to a modeless dialog Pin
Jeef8-Sep-03 0:18
Jeef8-Sep-03 0:18 
Generalpointer var Pin
macmac388-Sep-03 0:11
macmac388-Sep-03 0:11 
GeneralRe: pointer var Pin
Alexander M.,8-Sep-03 0:29
Alexander M.,8-Sep-03 0:29 
GeneralRe: pointer var Pin
macmac388-Sep-03 0:41
macmac388-Sep-03 0:41 
GeneralRe: pointer var Pin
jhwurmbach8-Sep-03 1:23
jhwurmbach8-Sep-03 1:23 
GeneralGUI database query Pin
coda_x8-Sep-03 0:08
coda_x8-Sep-03 0:08 
GeneralRe: GUI database query Pin
David Crow8-Sep-03 3:35
David Crow8-Sep-03 3:35 
GeneralCHttpView - Viewing and modifing post header Pin
Brian Delahunty8-Sep-03 0:07
Brian Delahunty8-Sep-03 0:07 
GeneralSpeed of Templates vs. Non-Templates Pin
RichardS7-Sep-03 23:44
RichardS7-Sep-03 23:44 
GeneralRe: Speed of Templates vs. Non-Templates Pin
Andrew Walker8-Sep-03 0:24
Andrew Walker8-Sep-03 0:24 
GeneralRe: Speed of Templates vs. Non-Templates Pin
RichardS8-Sep-03 1:37
RichardS8-Sep-03 1:37 

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.