Hello,
Been working on a little Win10 App that talks to an Arduino and AM2320 Meteo sensor via serial, however FTDI USB devices will no longer Open?
I have been developing a Win10 application with Visual Studio Community Edition 2019 that basically opens a COMM port with
hComm = CreateFileA(CommPortName, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0);
Now i do a little work on this app every few days and have been making steady progress to the point that it is just about finished.
This evening I sat down to do another couple of hours at it but the when I try to open a FTDI or Prolific USB Comm Port CreateFileA returns INVALID_HANDLE_VALUE
It opens a 16550 UART port Com1: just fine, but it won't open any of the various USB to Serial convertor adaptors I have.
I think a Win10 update came in a couple of days ago also some VS2019 updates have come in.
From Device Manager the various USB to serial ports i have tried all seem to have installed without error but CreateFileA won't open them.
Any ideas please as this was all working a couple of days ago and now CreateFileA just fails :-(
I have also tried the following DOS Command Prompt pipe command
Type My.TXT >> Com1: which works fine as is 16550 UART port
but Type My.TXT >> Com11: which is a FTDI device fails to work as i guess even windows can't open the port
Many thanks imk