K8000 : making stand alone exe to call upon outputs

hello,
who can help me making a stand alone executable that i can call upon from my GW-BASIC application, to instruct which output ports to activate on a K8000 card connected to LPT1 ?
i don’t care if it is made in VB / C++ / … as long as it works on a XP.

i am not familiar with VB / C++ myself and
the test programs included for QBASIC don’t work.
the diagnostic VB works correctly.

Thanks in advance,
Anthony