There is a really good book by Paul Bergsman called "Controlling the World With Your PC" that deals with PC serial communication. Lots of C, Pascal, and Basic coding examples.

Good Luck!