J JustinIGN Newcomer Joined May 19, 2010 Sythe Gold 0 Messages 1 May 19, 2010 #1 need Trial Timer code anyone could you help me to make trial timer C++ code for dll i want countdown timer when it's run for 2-3 minutes the dll will ExitProcess(0); thanks
anyone could you help me to make trial timer C++ code for dll i want countdown timer when it's run for 2-3 minutes the dll will ExitProcess(0); thanks
Govind The One Musketeer Joined Apr 22, 2005 Sythe Gold 23 Messages 7,825 May 20, 2010 #2 need Trial Timer code * GetSystemTime when it starts * Thread GetSystemTime every few seconds, obtain relative time (http://msdn.microsoft.com/en-us/library/ms724950(VS.85).aspx) * If it's your desired time limit, ExitProcess(0)
* GetSystemTime when it starts * Thread GetSystemTime every few seconds, obtain relative time (http://msdn.microsoft.com/en-us/library/ms724950(VS.85).aspx) * If it's your desired time limit, ExitProcess(0)