usualy this means that you try to load a 64 bits dll into a 32 bits application or the other way around. You can either install a client library that matches your program or you change your program.
Under some rare circumstances I had this happen because the dll could not load some other dll that it needed. Usually I solved this with code like that:
Code: Select all
:
chdir(ExtractFilePath(ZConnection.LibraryPath));
ZConnection.Connect;
chdir(ExtractFilePath(Application.ExeName);
:
Jan