|
-
August 10th, 2012, 04:24 PM
#6
Re: How do i make i timer to sleep my app from time to time or far some time?
thanks for your help guys,
the thing here is that when this code is performed
Code:
BoolGui::BoolGui( IMpUnknown* host ) : MpGuiBase(host)
{
wait(3);
}
my application initialize the module and keep it initialized while is open when i set the "wait" function it realy waits for 3 secs ...(btw seconds = 1000) in first void (i mistake) ...anyway...there is no problem in using the "wait" function where it is..i tried out and it waits for 3 seconds when initialized..what i need is a loop to set here in order to sleep the module wich is a .dll similar from time to time....this application is a sound app and im trying to make a trial version of it by using sleeping the sound from time to time instead of using registry entries.... it works..when im building the app wich runs in a visual programming compiler, each time i insert the module the sound sleeps for 3 seconds and then start again... my problem is making a second timer to set a limit for a testing mode of a trial version...
can this be done?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|