I did build a couple of product that monitors the COM (RS-323) but that was in VB6 and I used an OCX/ActiveX control on WindowsXP. The data from there is fed to J but the polling application is in VB6.
J can actually call an OCX/ActiveX control directly but I don't know how it would work out for you on WinCE. I guess googling for "file open COM1" would help out. :) -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of bill lam Sent: Friday, November 05, 2010 10:36 AM To: [email protected] Subject: Re: [Jprogramming] Accessing the serial port There is no inbuilt support for serial port in J. However I guess you can open a file handle for the serial port, and perform some read or write. This need admin rights, not sure those api will also work in vista or win7. untested. Чтв, 04 Ноя 2010, Alex Gian писал(а): > Hi, > Could anyone point me at any documentation on the foreign functions I > need to read directly from the serial port? > > I have a GPS application in mind, to which J may be very well suited. > At the moment I am working with j602 on Windows Mobile 5, (which also > has a simplified GPS dll, so any info on foreign functions for dll > access would also be good) but I do intend this to be as generic as > possible, so I'll probably go for direct interpretation of the NMEA > data, without dll "stablizers". > > TIA > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
