Is it possible for Java to communicate with the ComPorts???<br>I seen this in VB that it is possible there to communicate via the comports. So if its possible how to can you gain access to them?<br>
Part of the Java rule is that it shall have no contact with any of the user's direct hardware or file system. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href=
</a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)
Hi!<br><br>You can do it (from application!).<br>1. JNI (Java Nativ Interface), write operating system dependent functions (in C/C++) and call them from yor Java application.<br>2. JAVA(tm) COMMUNICATIONS API 2.0 (<A HREF="
Well only from application compiled natively to the OS or platform you are using. But from any Virtual Machine for java it cannot be done, in otherwords if you are trying to do this com thing in an Applet, cant be done. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href=
</a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)
Karl.....i really wanted for application..not applet...<br>now I already downloaded the Javacomm Packages..and ran the sample programs..so everything works..now....<br>does any1 know of a good place to learn on Serial ports programming??
Yes actually in some C projects i did about 3 months ago, you can use the bios.h header file to send data to the comm ports. The function name was bios comm or something. Just look it up with a old borlandc c/c++ compiler for dos. i don't know if newer version of borland will allow you to modify something this low level. Their might also be some dos function in the dos.h header file, you would have to use the int86() function i think to send data to the specific . you will defeinitely have to do your research on this one.<br><br>ackka <p>moses<br><a href=mailto:tmoses@iname.com>tmoses@iname.com</a><br><a href=
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.