View Single Post
  #2 (permalink)  
Old 06-15-2007, 04:54 AM
melancholygiant
Posts: n/a
Look into the APro components from TurboPower - they're the ones I use for my serial communication. These components are now open source and free. TApdComPort is the base serial port communications component. Just set your Stop Bits, Data Bits, Parity and Baud Rate. To open the COM port call InitPort. To close the COM port call DonePort. When you want to send data call PutBlock. To read data call GetBlock. Both PutBlock and GetBlock take an untyped parameter (as the source/target) and a size parameter.

I believe they can be downloaded from SourceForge. I also think they come with a few examples of use.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!