1

Closed

DLLNotFoundExcepion

description

Exception is thrown in libnodave.net.cs
public static IntPtr openSocket(int port, string portName)
{
if (IntPtr.Size == 8)
return openSocket64(port, portName);
return openSocket32(port, portName); <---- DLLNotFoundExcepion
}
while trying to connect a PLC.
Nice work thanks in advance for your help

Closed Feb 20 at 6:43 AM by jogibear9988

posted solution in a comment. its no error in the lib, its a users fault


comments

jogibear9988 wrote Feb 20 at 6:42 AM

You have to copy the libnodave_jfkmod.dll from the externaldlls dir to your application directory!