I uploaded a free zip file to my server that you can use, it is version 0.5 at the moment. This version of the library is new. I added a new 2 functions to the library, one that reads more than 8 characters (which I might add more later) and one that reads until it finds a space. The difference between the version I uploaded and the version that is on the website is that it has improved memory allocation, and my version has a few more functions than the others. I uploaded this version because I couldn't find a way to improve my C++ library to allow it to be embedded in other programs.
Use MAME.exe (you must use a copy of MAME installed on your computer) to run MAME.
Select a game, and make sure it is paused.
Click the large "Test Input" button. (The green / test button)
Click the small "Toggle" button next to the large "Test Input" button.
Click the small "Test Input" button to see the results.
Click the large "Resume" button (the one with the light green background).
Select the required address or "MAME-Lines".
Click the large "Start" button, and wait a few seconds for the game to start.