Download RASControl From VFP at
http://thaisofthouse.cjb.net (Thaifox Programmer) on topic API/Active X and you can find other VFP's code too.
I have developed product for control hardware from Mscomm Vfp's routines with 72 I/O ports RS8255 Control set.
Hoping to help you
Best Regards,
Suppachai Klungkaew