Welcome to AnirOCX, an ActiveX control which can be used to develop apps which use the Animax Anir remote control unit. This hardware product is a hand help remote control unit which can be connected to your PC via a serial port. I purchased one a number of months ago and was pleasantly surprised by how well it worked. Unfortunately it uses a VXD driver which means that it cannot be used on NT. This was one of the main reasons behind the development of AnirOCX. This OCX gives the developer the support to use the remote control with their apps in whatever way they want. For example if you were developing a presentation product you could use AnirOCX to provide hands free remote control of your product from across the hall. For the more ambitious you could develop an app which provides general remote support for the Windows shell.
The complete source code to the OCX is included in AnirOCX. As part of the source code a reusable C++ class called CAnirRemoteControl (anir32.cpp/h) is included which the MFC/C++ developers among you may prefer to use instead of the OCX model. Using this class directly instead of the OCX also means that you have the option of statically including both MFC and the remote control code rather than having to redistribute the anir.ocx plus its MFC support dlls.
For the hard core developers out there, the source code is also a good example of using overlapped IO, synchronization techniques, multithreading, low level serial comms, IR signal decoding and high precision timing techniques. And you get all of that in a 30k binary <g>.
21 June 2008
V1.01 (24 March 1998)
V1.0 (19 March 1998)