简体   繁体   中英

Modbus C# library unable to find FTD2XX DLL

I am using Nmodbus to setup an implementation, and everytime I try to run one of the instances in the code I am prompted with the following error

unable to load DLL 'FTD2XX.dll': The specified module could not be found

I have searched through my system32 folder and copied and pasted a copy of the above DLL in there, and it is also in the folders corresponding to the C# solution. I can see it, it is there, but why am I being prompted with this error?

Aren't you mixing 32bit code with 64bit? Try changing target from AnyCPU to 32bits.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM