DIM hSerialPort AS SerialPort

hSerialPort = NEW SerialPort ( )

Создает новый объект SerialPort .