Question:
Normally, the "incorrect format" error is easily solved by making sure to load the correct Chilkat assembly based on whether the process is 32-bit or 64-bit. See http://www.chilkatforum.com/questions/114/64bit-could-not-load-file-or-assembly-chilkatdotnet4-or-one-of-its-dependencies-an-attempt-was-made-to-load-a-program-with-an-incorrect-format
The one other case where difficulty can arise, which is somewhat rare, is explained here:
(This post is by default already answered.)