Error Message: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Print
Created by: Waymon Barnette
Modified on: Fri, 12 Sep, 2025 at 1:40 PM
Error: You receive the error message from the Enzoic API when trying to run the application for the first time:
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Solution: This issue arises when there is a 32 bit/64 bit mismatch between the Argon2 DLL and the application that you are using. Basically you will need to ensure that if you are targeting 64 bit you're using the 64 bit binary and vice versa. When compiled for “Any Platform” rather than explicitly 32 bit or 64 bit, it will pull in the 32 bit DLL. So when you're building the application and applying our binaries, you'll need to explicitly target x64.
Waymon is the author of this solution article.
Did you find it helpful?
Yes
No
Send feedback Sorry we couldn't be helpful. Help us improve this article with your feedback.