Beckhoff / AdsToJava

This library is intended for use in ADS client applications written in the Java programming language.
MIT License
8 stars 2 forks source link

AdsToJava.dll did not link #3

Closed robertsonj3 closed 9 months ago

robertsonj3 commented 10 months ago

After building the AdsToTc jar and dll, I placed the dll in the System32 directory. When running a java project using AdsToJava it threw a linking exception. To resolve the issue, I renamed the dll in the System32 directory from "AdsToJava.dll" to "AdsToJava-3.dll"

vossjannik commented 9 months ago

Hi @robertsonj3,

the file "AdsToJava.dll" should've been renamed to "AdsToJava-3.dll" automatically. However, there was an issue with the path syntax in the Batch script (run/copy_to_dist.bat). The bash version of the script worked as intended.

Your issue should be resolved by 668a5b9820f0fea4eda6f618a210f8c66142451d

Best Regards, Jannik Voss