This post concerns serial communications with a Teensy 3.2 under Windows 10 - Teensy code is therefore not relevant and hence not provided.
Using VB6 and MSCOMM32.OCX to access Teensy 3.2 works well for me under Windows 7 and 8.x. However, under Windows 10 I get an 8020 device not available error. An internet search shows many other people have this issue (with devices other than the Teensy) but MS has not come up with a fix for MSCOMM32 and might be unable to reproduce the error. There has been some evidence that it is related to the serial driver being used. While installing my software my installer runs serial_install.exe. Could the issue be related to this? Has anyone else had this problem.
Switching to the third party SCOMM32.OCX fixes the 8020 bug but SCOMM32 is actually very different from MSCOMM32 under the hood - it badly breaks my VB6 code. If there is a simpler fix I want to go that route.
Yes, yes, I know I should switch to .net. It is on my to-do list but shutting down my business for a couple of months+ while I do a rather large port from VB6 to .net is not a viable solution. I'll do the port when business goes quiet or when I am forced to by customers. Fortunately for me it looks like Windows 10 is not popular with corporate IT people, but I am expecting an order from a Japanese customer who insists on Windows 10.
P.S. I really, really like the Teensy system (boards + Teensyduino under VisualMicro in VS.net). Since I switched from a lame 8-bit system, life has got a lot, lot easier. Sincere thanks to you Paul.
Using VB6 and MSCOMM32.OCX to access Teensy 3.2 works well for me under Windows 7 and 8.x. However, under Windows 10 I get an 8020 device not available error. An internet search shows many other people have this issue (with devices other than the Teensy) but MS has not come up with a fix for MSCOMM32 and might be unable to reproduce the error. There has been some evidence that it is related to the serial driver being used. While installing my software my installer runs serial_install.exe. Could the issue be related to this? Has anyone else had this problem.
Switching to the third party SCOMM32.OCX fixes the 8020 bug but SCOMM32 is actually very different from MSCOMM32 under the hood - it badly breaks my VB6 code. If there is a simpler fix I want to go that route.
Yes, yes, I know I should switch to .net. It is on my to-do list but shutting down my business for a couple of months+ while I do a rather large port from VB6 to .net is not a viable solution. I'll do the port when business goes quiet or when I am forced to by customers. Fortunately for me it looks like Windows 10 is not popular with corporate IT people, but I am expecting an order from a Japanese customer who insists on Windows 10.
P.S. I really, really like the Teensy system (boards + Teensyduino under VisualMicro in VS.net). Since I switched from a lame 8-bit system, life has got a lot, lot easier. Sincere thanks to you Paul.