Win32/Win64 compatibility