Q: My application fails in LoadLibrary with error 193 (not a valid Win32 application).
A: That error almost always means that you are trying to load a 64 bit library in a 32 bit application (or vice-versa).
A: That error almost always means that you are trying to load a 64 bit library in a 32 bit application (or vice-versa).