Skip to content

Suspend PC Timer v2.4

Latest
Compare
Choose a tag to compare
@0mg 0mg released this 09 Jan 12:54
· 1 commit to master since this release

AWAKE

changes

source code diff v2.1 to v2.4 is available.

  • UPDATE: restart count down from 60sec, if timeout after PC is suspended or freeze

  • UPDATE: added command option /a (keep awaking PC while counting down)

  • UPDATE: display count down on window titlebar

  • etc: display progress bar correctly on count 0

  • etc: a few smaller font size

  • etc: added command option /debug (no suspend if timeout)

built with

Microsoft(R) Program Maintenance Utility Version 14.16.27034.0
Copyright (C) Microsoft Corporation.  All rights reserved.

         rc  /fo sustimer.o sustimer.rc
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl sustimer.o sustimer.c  /utf-8 /DUNICODE /MD /O2 /link /ENTRY:__start__ kernel32.lib shell32.lib user32.lib gdi32.lib ole32.lib powrprof.lib
Microsoft(R) C/C++ Optimizing Compiler Version 19.16.27034 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : コマンド ライン warning D9024 : ソースファイルの種類 'sustimer.o' は認識で きませんでした。オブジェクト ファイルと仮定します。
sustimer.c
Microsoft (R) Incremental Linker Version 14.16.27034.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:sustimer.exe
/ENTRY:__start__
kernel32.lib
shell32.lib
user32.lib
gdi32.lib
ole32.lib
powrprof.lib
sustimer.o
sustimer.obj
         del /f *.obj *.o