<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to can not load PLCHandlerDll.dll with IronPython</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2110fa1d2e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2110fa1d2e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/2110fa1d2e/</id><updated>2023-05-24T09:17:42.536000Z</updated><subtitle>Recent posts to can not load PLCHandlerDll.dll with IronPython</subtitle><entry><title>can not load PLCHandlerDll.dll with IronPython</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2110fa1d2e/?limit=25#f0fb" rel="alternate"/><published>2023-05-24T09:17:42.536000Z</published><updated>2023-05-24T09:17:42.536000Z</updated><author><name>kevp</name><uri>https://forge.codesys.com/u/kevp/</uri></author><id>https://forge.codesys.comd4a648099d29a3d70e301d889deb9cf51c58d4ef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to load the PlcHandlerDll.dll by ironPython:&lt;/p&gt;
&lt;p&gt;import clr&lt;br/&gt;
clr.AddReference("PLCHandlerDll")&lt;/p&gt;
&lt;p&gt;I got the following error:&lt;br/&gt;
System.BadImageFormatException: Could not load file or assembly 'PLCHandler_SDK_Windows_3.5.19.0\bin\Windows\x64\PLCHandlerDll_.dll' or one of its dependencies. The module was expected to contain an assembly manifest.&lt;/p&gt;
&lt;p&gt;Dose anyone have any suggestion about it?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>