Is there any tool that can directly test if a library is made for 32 or 64 bit?
I haven't tried this but you can also use file.exe, the unix file equivalent on windows. You can download the binary (and source as well) from here or gnu version here
file.exe
file