Sous C/DOS, ou Windows 16 bits (:D) ou 32 ?
Y a des API OpenComm, GetCommState, SetCommEventMask, GetCommEventMask, ReadComm, WriteComm, FlushComm, CloseComm et des structures
CommStateDCB 'COM Device Control Block (DCB) record structure variable
'This is a parameter needed by the Windows SetCommState API
'function.
'Refer to Form_Load event procedure for an example of
'how initialize the COM DCB
et COMSTAT 'COM status variable.
'This is a parameter needed by the Windows GetCommError API
'function
Ca m'avait servi en VB3/Win16.