This is an ActiveX control that allows your program access to infrared remote controls via WinLIRC or LIRC.
Notice: You may use this component in your non-commercial application, provided that appropriate credit is given in an about box and/or readme file. If you wish to use this component in any commercial capacity, you must obtain written permission from me, Brad Isbell (brad@musatcha.com), prior to the use.
WinLIRCClientControl.zip (36kB)
To install, copy the OCX to your System32 directory, and register with regsvr32.
Displays the "About" dialog for the component.
Connects to the WinLIRC server specified by sHost using port number lPort.
Disconnects from the server.
Fires when the current connection is terminated.
When a connection error occurs, this event is fired. lErrNum is the error number, and the description can be found in sErrDescription.
This is the main event that is fired when a command is received from WinLIRC. The name of the remote control is stored in sRemote with the name of the button pushed in sButton. iRepeats is a count of how many times the button has been repeated. Often times an IR signal will be repeated more than once for a given command received from WinLIRC. See the documentation on the repeat delay for WinLIRC for more information.
There are no extended properties for this control.