Added x64 config, fixed issues with definition of MainWndProc