Use "A_PtrSize" to judge is running is 32/64bit

The "GetClassLong_API" should be decided by the running EXE version,
instead of OS version.