Fix crash when UAC blocks the program.

=_=英语不好连个说明和注释都写不出了
Merge pull request #27 from zsxsoft/master

Fix crash when UAC blocks the program.