Use methods available in SysVersion.h
Move pragma to project dependencies.
Remove CAuthDlg class as it is depreciated.
Use nullptr instead of NULL.