>I am looking for a good serial comm library for use with Visual FoxPro I am communicating between a PC and a Verifone Credit Card terminal, the speed is only 1200 baud. I anyone knows of any let me know. Thanks
>
If all you need is low-level comm port I/O, the MSCOMM32.OCX control that ships with VIsual FOxPro has more than adequate functionality. there are no built-in protocols, terminal emulations and things of that sort - only port-level manipulation.
At 1200 baud, you can probably live with Polled I/O, which is fairly straightforward to implement using MSCOMM32. If you need event-driven (interrupt-driven) comms, then you'll need to use MSCOMM32 in conjunction with VFPCOM.DLL, a freely-redistributable add-on to VFP 5 or 6 (download from msdn.microsoft.com/vfoxpro/downloads) that allows you to bind VFP code to events from an ActiveX control or COM component.
There is documentation with sample code in VB in the MSDN documentation (if you don't have a copy, you can access the information at msdn.microsoft.com) for polled I/O; there are also samples of VFP code that use the MSCOMM32 control available here either in the FAQ on in the Files Section.
>
>Chris