Menu

Snap7 doesn't work in x64

2020-10-22
2020-10-22
  • Sedat Atalay

    Sedat Atalay - 2020-10-22

    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?

     
  • Davide Nardella

    Davide Nardella - 2020-10-22

    try to copy snap7.net.dll from \BuildSnap7Assembly\bin\x64\debug (or release) and
    snap7.dll from \release\windows\win64
    into your executable path.

     
  • Sedat Atalay

    Sedat Atalay - 2020-10-22

    I tried but still same error message

     
  • Sedat Atalay

    Sedat Atalay - 2020-10-22

    Hi again. Now it works well. I had a mistake to copy correct snap7.dll. Thanks.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.