Home arrow static arrow Java Programming [Archive] - Use I/O Ports
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Use I/O Ports
This topic has 2 replies on 1 page.

Posts:5
Registered: 7/18/04
Use I/O Ports  
Jul 18, 2004 6:51 PM



 
Hi,
is it possible to use the I/O Ports of the host system directly?
I know about the javax.comm. library.
But the port I want to use doesn�t show up as parallel or serial port. It is Port 60 (in Hex) on Windows (Keyboard controller).

Anyone an idea?
 

Posts:31,095
Registered: 4/30/99
Re: Use I/O Ports  
Jul 18, 2004 10:12 PM (reply 1 of 2)



 
Not from Java, no.
 

Posts:5
Registered: 7/18/04
Re: Use I/O Ports  
Jul 22, 2004 2:09 PM (reply 2 of 2)



 
It is possible. In fact I solved the problem.
It�s easy if you use the JNI and a Windows dll called inpout32.dll.
I used in some VB projects and now simply put the JNI in.
 
This topic has 2 replies on 1 page.