I copied Snap7-VB6's (https://sourceforge.net/projects/snap7/files/) snap7.dll file to c -> windows -> system32 as it is mentioned. (Download the zip file from the sourceforce page. Unzip the zip file, and copy releaseWindows<win64 win32="">snap7.dll</win64> somewhere in you system PATH, for example C:WINDOWSsystem32. Alternatively you can copy the file somewhere on your file system and adjust the system PATH.)
When I run snap7 program with python-snap7-master wrapper folders on anaconda(2020.07)'s spyder, I have "OSError: [WinError 193] %1 is not a valid Win32 application".
snap7.dll causes this problem. I think it is not suitable for latest 64 bit environments. What should I do?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I copied Snap7-VB6's (https://sourceforge.net/projects/snap7/files/) snap7.dll file to c -> windows -> system32 as it is mentioned. (Download the zip file from the sourceforce page. Unzip the zip file, and copy releaseWindows<win64 win32="">snap7.dll</win64> somewhere in you system PATH, for example C:WINDOWSsystem32. Alternatively you can copy the file somewhere on your file system and adjust the system PATH.)
When I run snap7 program with python-snap7-master wrapper folders on anaconda(2020.07)'s spyder, I have "OSError: [WinError 193] %1 is not a valid Win32 application".
snap7.dll causes this problem. I think it is not suitable for latest 64 bit environments. What should I do?
Just be informed that I have the same problem on Win10 64b latest update
Last edit: Ali Karbasi 2021-03-15