Possible fix for "epected initializer before 'WndProc'
Specify which max() to use in dlogtool