02-25-2004, 02:48 AM
|
#1
|
|
Member (10 bit)
Join Date: Jul 2002
Location: University of California, Santa Barbara
Posts: 800
|
Port access from Java
I would like to start writing a program for controlling a text LCD through the parallel port in Java. I'd like to use Java if possible so it can easily be run on several OS's, it's easy GUI creation, and because it is the language I'm currently studying.
Because Java does not seem to have direct access to the ports, I was going to write a windows dll in C++ which will give my program access to the parallel port and then access it through java using JNI.
However, to run a program on NT, 2k, or XP I need something like PortIO so it can actually access the port. Since the program will be in Java without a .exe, is there a way I can run it to give it access to the parallel port?
|
|
|