hi guys...
i have this code for creating a module that is introduced in another program
i now can sleep my application for 3 sec, but i would like to make it sleep for 3 sec after 10 sec for eg....how can it be done?Code:#include ".\BoolGui.h" #include "windows.h" #include <time.h> REGISTER_GUI_PLUGIN( BoolGui, L"My Bool" ); void wait(long seconds) { seconds = seconds * 3000; Sleep(seconds); } BoolGui::BoolGui( IMpUnknown* host ) : MpGuiBase(host) { wait(3); }
Thank you!




Reply With Quote
