This method seems to be the most effective.

In the PE file header, there is a “machine” field that specifies the CPU type. If it is 0x8664, it indicates a 64-bit program, and if it is 0x14c, it represents Intel 386 or later processors and their compatible processors. You can use the c32asm tool to import DLL files and view them.

This is for x86:

img

This is for x64:

img

Source:

1
https://bbs.pediy.com/thread-200189-1.htm#1369197