Bonjour, j'ai un problème avec la dll win32com.
J'utilise eclipse comme programme.
J'ai mis la dll dans le dossier jdk/bin et jre/bin
Merci de votre aide
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 package tapis; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.TooManyListenersException; import javax.comm.CommPortIdentifier; import javax.comm.NoSuchPortException; import javax.comm.PortInUseException; import javax.comm.SerialPort; import javax.comm.SerialPortEvent; import javax.comm.SerialPortEventListener; import javax.comm.UnsupportedCommOperationException; import com.sun.comm.Win32Driver; erreur ici public class PortSerie implements SerialPortEventListener{ Gestion_bouton gestBout; char l1 = ' '; SerialPort port; CommPortIdentifier portId; InputStream in; OutputStream out; public PortSerie(Gestion_bouton gestBout){ this.gestBout = gestBout; Win32Driver w32Driver= new Win32Driver(); erreur ici w32Driver.initialize();
Partager