And to make things even more confusing.. :)
On 64-bit windows system32 is used for 64-bit dlls, and 32-bit dlls are in syswow64.
And a 32-bit application which tries to load a dll from system32...