Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 27 APR 1998 04:21:40AM Víctor D. Pérez wrote:

Is it possible to read data directly from a COM?

I've tried the typical open "COM2" for input as #1 but it does not work?

can anybody help me?

Thanks


At 11 JUN 1998 03:53AM PR wrote:

Shame no one seems to want to answer this one.

There is a createfile API to the Win32. This will get you a handle to the comm port (providing nothing is currently using it)

You can now do several things. If you use modems for example, you can read status's with GetCommModemStatus, transmitcommchar etc. You can read and write to the port as well in different ways(modem or no modem). You'll find this information is best obtained from the Delphi and 'C' newsgroups.

Just some ideas basically

PR

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/616572597495c3ea852565f3002dee26.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1