RishiGupta12 / SerialPundit

Serial port communication in Java - FTDI D2XX, HID API, X/Y modem
GNU Affero General Public License v3.0
125 stars 56 forks source link

XP Compatibility #10

Closed theWalkingDuck closed 8 years ago

theWalkingDuck commented 8 years ago

Is SCM compatible to Windows XP ? I tried to run the prebuilt-release scm-1.0.4.jar on Windows XP SP3 but I can't get it work.

Exception in thread "main" java.lang.UnsatisfiedLinkError: 
C:\Users\xxx\AppData\Local\Temp\scm_tuartx1\windows_1.0.4_x86.dll: Can't find dependent libraries
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.embeddedunveiled.serial.internal.SerialComPortJNIBridge.loadNativeLibrary(SerialComPortJNIBridge.java:336)
at com.embeddedunveiled.serial.SerialComManager.<init>(SerialComManager.java:582)
at demo.Demo.main(Demo.java:14)

I added the missing MSVCR120.DLL to system32 directory but still Dependency walker shows a problem with the following 2 DLLs.

ADVAPI32.DLL  (RegGetValueW  *function is marked red)
SETUPAPI.DLL  (SetupDiGetDevicePropertyW *function is marked red)
RishiGupta12 commented 8 years ago

Therefore in windows XP it will not work. Why you are using windows XP.

theWalkingDuck commented 8 years ago

I still use XP for some electronic projects. That means I have to stick around with the old RXTX library for a while.