Have a look here. Scroll down to the section on accessing ports under windows. Keep going down until you find some code by someone called Peter Burke (which works under both win95 and NT...