Fix P3SHARED.DLL related errors in Windows 7, 8 or 10