Posted 35 Days Ago Job ID: 1669245 0 quotes received

Autohotkey script - RS232 DllCall hangs

Hourly $1 - $100
Quotes (0)  ·  Premium Quotes (0)  ·  Invited (2)  ·  Hired (0)

  Send before: July 13, 2020

Send a Quote

Programming & Development Programming & Software

This script hangs if no device is connected to COM port:

;###### Read the data from the RS232 COM Port ######
  Read_Result := DllCall("ReadFile"
       ,"UInt" , RS232_FileHandle   ; hFile
       ,"Str"  , Data             ; lpBuffer
       ,"Int"  , Num_Bytes        ; nNumberOfBytesToRead
        ... Show more
Damjan R Slovenia