Abstract:Taking advantage of assembling language and SDK under WINDOWS interface anew approach is proposed to directly access hardware port on real time. Based on this method,the dynamic link library which can be called by several high - level language is founded toefficaciously solve the hardware control problem under VB environment.