I am trying to run Snap7 for x64. But can’t compile. I receive an error “An unhandled exception of type 'System.InvalidOperationException' occurred in VBClient.exe
Additional information: An error occurred creating the form. See Exception.InnerException for details. The error is: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)”
Hello.
I am trying to run Snap7 for x64. But can’t compile. I receive an error “An unhandled exception of type 'System.InvalidOperationException' occurred in VBClient.exe
Additional information: An error occurred creating the form. See Exception.InnerException for details. The error is: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)”
Can someone help me to solve this issue?
try to copy snap7.net.dll from \BuildSnap7Assembly\bin\x64\debug (or release) and
snap7.dll from \release\windows\win64
into your executable path.
I tried but still same error message
Hi again. Now it works well. I had a mistake to copy correct snap7.dll. Thanks.