The ardupilotmegacomm library is successfully sending/ receiving HIL communication and is sending/receiving the standard ardupilotmega binary protocol. yagcs and dronegcs (several ardupilotmega ground stations) both currently use the library. I updated the apmcomm library to fix some bugs and also added hardware in the loop support. I renamed the project from apmcomm to avoid a bunch of misc. hits on google. I have packaged a linux version using cpack -G DEB, but could use a developer on windows to package the windows version with the nullsoft installer. If you have boost >= 1.40 and cmake >= 2.60 it should only require you to checkout the repository and run cpack -G NSIS
To fix some upstream problems in the Arducotper APM_BinComm library that haven't been accepted yet, I built a patch system into the CMakeLists.txt file. First svn pulls APM_BinComm from arducopter. Then CMake notices that there is no patch stamp and applies the patch to the APM_BinComm tree. Then the build system creates the patch stamp so no errors are produced during successive builds.