It's easiest to use WinLIRC as the actual receiver of the IR, and then just read the commands from WinLIRC. I built an ActiveX control for this purpose that you may use. You can find it here: http://www.musatcha.co m/software/WinLIRCClientCo ntrol/