1) Avoid static member functions ad use const
2) Simplify version comparison bu using an ordered version DWORD (MMmmBBBB) (Major, minior, Build) so that version can be compared with a single operation instead of three.
3) Refactor the rest of the code:
a. use app().function() instead of App::function() because member are no longer static
b. functions were modified to be simpler so the calling convention has changed
1) Avoid static member functions ad use const 2) Simplify version comparison bu using an ordered version DWORD (MMmmBBBB) (Major, minior, Build) so that version can be compared with a single operation instead of three. 3) Refactor the rest of the code: a. use app().function() instead of App::function() because member are no longer static b. functions were modified to be simpler so the calling convention has changed