I did the VB approach for a while, but found an easier path through FreeBASIC:
With a text editor, FreeBASIC compiler, (and the K8055D.DLL in same folder as compiler at compile time), enter the following into a console window, FBC test.bas
Here is the FreeBASIC code for test.bas:
DIM...